[PATCH] arch: score: use cc-cross-prefix to set CROSS_COMPILE

From: Peter Foley
Date: Sun Apr 24 2011 - 17:08:34 EST


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

Signed-off-by: Peter Foley <pefoley2@xxxxxxxxxxx>
---
arch/score/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/score/Makefile b/arch/score/Makefile
index 974aefe..2807216 100644
--- a/arch/score/Makefile
+++ b/arch/score/Makefile
@@ -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.
--
1.7.5.rc1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/