summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-07-14 11:10:50 +0200
committerBryan Wu <cooloney@kernel.org>2008-07-14 11:10:50 +0200
commitc71b47835188d0c2a1e1f9590564f1b71c651710 (patch)
treee4c75ba0f62492754c477eea8401958abda9494b /arch/blackfin
parentBlackfin arch: update board defconfigs (diff)
downloadlinux-c71b47835188d0c2a1e1f9590564f1b71c651710.tar.xz
linux-c71b47835188d0c2a1e1f9590564f1b71c651710.zip
Blackfin arch: set CROSS_COMPILE in our arch Makefile so it gets used by default
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index 3cbe16caad4b..9564731ad3a8 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -6,8 +6,9 @@
# for more details.
#
-
-CROSS_COMPILE ?= bfin-uclinux-
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := bfin-uclinux-
+endif
LDFLAGS_vmlinux := -X
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
GZFLAGS := -9