summaryrefslogtreecommitdiff
path: root/arch/microblaze/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/config.mk')
-rw-r--r--arch/microblaze/config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/microblaze/config.mk b/arch/microblaze/config.mk
index fc545a9ee6..98bbf794fa 100644
--- a/arch/microblaze/config.mk
+++ b/arch/microblaze/config.mk
@@ -8,10 +8,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
-CROSS_COMPILE ?= mb-
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := mb-
+endif
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000
PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
-
-LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds