summaryrefslogtreecommitdiff
path: root/arch/nds32/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/config.mk')
-rw-r--r--arch/nds32/config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk
index 550f8a4..0cbc4ad 100644
--- a/arch/nds32/config.mk
+++ b/arch/nds32/config.mk
@@ -8,7 +8,9 @@
#
# 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