]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sparc/config.mk
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[karo-tx-uboot.git] / arch / sparc / config.mk
1 #
2 # (C) Copyright 2007
3 # Daniel Hellstrom, Gaisler Research, daniel@gaisler.com
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 ifeq ($(CROSS_COMPILE),)
9 CROSS_COMPILE := sparc-elf-
10 endif
11
12 gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`)
13
14 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
15                                -T $(srctree)/examples/standalone/sparc.lds
16
17 PLATFORM_CPPFLAGS += -D__sparc__
18
19 PLATFORM_RELFLAGS += -fPIC