All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Foley <pefoley2@verizon.net>
To: <linux-kernel@vger.kernel.org>
Cc: <uclinux-dist-devel@blackfin.uclinux.org>, <vapier@gentoo.org>
Subject: [PATCH] arch: blackfin: use cc-cross-prefix to set CROSS_COMPILE
Date: Sun, 24 Apr 2011 17:10:48 -0400	[thread overview]
Message-ID: <4DB491D8.6040600@verizon.net> (raw)

This patch updates the blackfin Makefile to use cc-cross-prefix
to only set CROSS_COMPILE if bfin-uclinux-gcc exists.

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

diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index 46f42b2..3f47d26 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -7,7 +7,7 @@
 #

 ifeq ($(CROSS_COMPILE),)
-CROSS_COMPILE    := bfin-uclinux-
+CROSS_COMPILE    := $(call cc-cross-prefix, bfin-uclinux-)
 endif
 LDFLAGS_vmlinux  := -X
 OBJCOPYFLAGS     := -O binary -R .note -R .comment -S
-- 
1.7.5.rc1


             reply	other threads:[~2011-04-24 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24 21:10 Peter Foley [this message]
2011-04-24 21:19 ` [PATCH] arch: blackfin: use cc-cross-prefix to set CROSS_COMPILE Mike Frysinger
2011-04-24 21:31   ` Peter Foley

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=4DB491D8.6040600@verizon.net \
    --to=pefoley2@verizon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uclinux-dist-devel@blackfin.uclinux.org \
    --cc=vapier@gentoo.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.