public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch: score: use cc-cross-prefix to set CROSS_COMPILE
@ 2011-04-24 21:07 Peter Foley
  0 siblings, 0 replies; only message in thread
From: Peter Foley @ 2011-04-24 21:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: liqin.chen, lennox.wu

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@verizon.net>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-24 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-24 21:07 [PATCH] arch: score: use cc-cross-prefix to set CROSS_COMPILE Peter Foley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox