diff options
Diffstat (limited to 'arch/openrisc/config.mk')
-rw-r--r-- | arch/openrisc/config.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/openrisc/config.mk b/arch/openrisc/config.mk index 13015ebc21..9902b9adba 100644 --- a/arch/openrisc/config.mk +++ b/arch/openrisc/config.mk @@ -5,12 +5,12 @@ # SPDX-License-Identifier: GPL-2.0+ # -CROSS_COMPILE ?= or32-elf- +ifeq ($(CROSS_COMPILE),) +CROSS_COMPILE := or32-elf- +endif # r10 used for global object pointer, already set in OR32 GCC but just to be # clear PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 - -LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds |