Skip to contentSkip to conversation

arch: score: use cc-cross-prefix to set CROSS_COMPILE

PATCH New Peter Foley 1 participant 1 message Apr 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch: score: use cc-cross-prefix to set CROSS_COMPILE

This patch updates the score Makefile to use cc-cross-prefix to only set CROSS_COMPILE if score-linux-gcc exists.

---
 arch/score/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/score/Makefile +1 -1
index 974aefe..2807216 100644
@@ -7,7 +7,7 @@
 #
 
 KBUILD_DEFCONFIG := spct6600_defconfig
-CROSS_COMPILE := score-linux-
+CROSS_COMPILE := $(call cc-cross-prefix, score-linux-)
 
 #
 # CPU-dependent compiler/assembler options for optimization.
Signature · 1 line
1.7.5.rc1