summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-07-14 17:10:50 +0800
committerBryan Wu <cooloney@kernel.org>2008-07-14 17:10:50 +0800
commitc71b47835188d0c2a1e1f9590564f1b71c651710 (patch)
treee4c75ba0f62492754c477eea8401958abda9494b /arch/blackfin
parented987319ed6a3f5e14c87141e210deb057a6c507 (diff)
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 3cbe16caad4..9564731ad3a 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