summaryrefslogtreecommitdiff
path: root/arch/nios2/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/config.mk')
-rw-r--r--arch/nios2/config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
index 7d546ef..65a5a40 100644
--- a/arch/nios2/config.mk
+++ b/arch/nios2/config.mk
@@ -6,7 +6,9 @@
# SPDX-License-Identifier: GPL-2.0+
#
-CROSS_COMPILE ?= nios2-elf-
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := nios2-elf-
+endif
CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000