From: Peter Foley <pefoley2@verizon.net>
To: <linux-kernel@vger.kernel.org>
Cc: <liqin.chen@sunplusct.com>, <lennox.wu@gmail.com>
Subject: [PATCH] arch: score: use cc-cross-prefix to set CROSS_COMPILE
Date: Sun, 24 Apr 2011 17:07:10 -0400 [thread overview]
Message-ID: <4DB490FE.4020706@verizon.net> (raw)
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
reply other threads:[~2011-04-24 21:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB490FE.4020706@verizon.net \
--to=pefoley2@verizon.net \
--cc=lennox.wu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liqin.chen@sunplusct.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox