diff options
Diffstat (limited to 'arch/sparc/config.mk')
-rw-r--r-- | arch/sparc/config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk index 9bb37241d2..e2327ecfac 100644 --- a/arch/sparc/config.mk +++ b/arch/sparc/config.mk @@ -5,7 +5,9 @@ # SPDX-License-Identifier: GPL-2.0+ # -CROSS_COMPILE ?= sparc-elf- +ifeq ($(CROSS_COMPILE),) +CROSS_COMPILE := sparc-elf- +endif CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \ -T $(srctree)/$(src)/sparc.lds |