diff options
Diffstat (limited to 'arch/nds32/config.mk')
-rw-r--r-- | arch/nds32/config.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk index 550f8a4..1024852 100644 --- a/arch/nds32/config.mk +++ b/arch/nds32/config.mk @@ -8,9 +8,12 @@ # # SPDX-License-Identifier: GPL-2.0+ -CROSS_COMPILE ?= nds32le-linux- +ifeq ($(CROSS_COMPILE),) +CROSS_COMPILE := nds32le-linux- +endif -CONFIG_STANDALONE_LOAD_ADDR = 0x300000 -T $(srctree)/$(src)/nds32.lds +CONFIG_STANDALONE_LOAD_ADDR = 0x300000 \ + -T $(srctree)/examples/standalone/nds32.lds PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax PLATFORM_RELFLAGS += -gdwarf-2 |