6dbf20f5377b9e523727a1134d842ac8e9f0c819
[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 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
13                                -T $(srctree)/examples/standalone/sparc.lds
14
15 PLATFORM_CPPFLAGS += -DCONFIG_SPARC -D__sparc__