]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sh/config.mk
kbuild: fix CROSS_COMPILE settings in config.mk
[karo-tx-uboot.git] / arch / sh / config.mk
index eefcbcd124a5ac268c7ffaeb83a9372f720c6331..0578fa3fd81254c8fb968962e2b199b174fdad31 100644 (file)
@@ -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)