aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-30 00:30:54 -0400
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:15:25 -0500
commite92d32fcb9925884a0ad9e1ad8f10d837d7de7a6 (patch)
tree495b76fa62311dc174c815466e6b1e86469ef330 /arch/blackfin
parentee3773367b8eb90fcb3ad61e7e632e8239323fa3 (diff)
Blackfin: force BFD target when linking modules
This allows us to use any Blackfin toolchain to create kernel modules (such as the FDPIC bfin-linux-uclibc toolchain). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index 9507e21ac0ac..d4c7177e7656 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -16,6 +16,7 @@ GZFLAGS := -9
16KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) 16KBUILD_CFLAGS += $(call cc-option,-mno-fdpic)
17KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) 17KBUILD_AFLAGS += $(call cc-option,-mno-fdpic)
18CFLAGS_MODULE += -mlong-calls 18CFLAGS_MODULE += -mlong-calls
19LDFLAGS_MODULE += -m elf32bfin
19KALLSYMS += --symbol-prefix=_ 20KALLSYMS += --symbol-prefix=_
20 21
21KBUILD_DEFCONFIG := BF537-STAMP_defconfig 22KBUILD_DEFCONFIG := BF537-STAMP_defconfig