[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DB491D8.6040600@verizon.net>
Date: Sun, 24 Apr 2011 17:10:48 -0400
From: Peter Foley <pefoley2@...izon.net>
To: <linux-kernel@...r.kernel.org>
CC: <uclinux-dist-devel@...ckfin.uclinux.org>, <vapier@...too.org>
Subject: [PATCH] arch: blackfin: use cc-cross-prefix to set CROSS_COMPILE
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@...izon.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists