]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sparc/config.mk
kbuild: fix CROSS_COMPILE settings in config.mk
[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)/$(src)/sparc.lds
14
15 PLATFORM_CPPFLAGS += -DCONFIG_SPARC -D__sparc__