]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/config.mk
kbuild: fix CROSS_COMPILE settings in config.mk
[karo-tx-uboot.git] / arch / powerpc / config.mk
index f75c3bf187caecea7ba2a458744c9f72636aaef3..e398f979823dd1f87c57a7d68089103c45f5f4c7 100644 (file)
@@ -5,7 +5,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-CROSS_COMPILE ?= ppc_8xx-
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := ppc_8xx-
+endif
 
 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
 LDFLAGS_FINAL += --gc-sections