summaryrefslogtreecommitdiffstats
path: root/arch/sh/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/config.mk')
-rw-r--r--arch/sh/config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/config.mk b/arch/sh/config.mk
index eefcbcd124..0578fa3fd8 100644
--- a/arch/sh/config.mk
+++ b/arch/sh/config.mk
@@ -5,7 +5,9 @@
# SPDX-License-Identifier: GPL-2.0+
#
-CROSS_COMPILE ?= sh4-linux-
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := sh4-linux-
+endif
CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000
ifeq ($(CPU),sh2)
OpenPOWER on IntegriCloud