diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-30 00:30:54 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:15:25 -0500 |
commit | e92d32fcb9925884a0ad9e1ad8f10d837d7de7a6 (patch) | |
tree | 495b76fa62311dc174c815466e6b1e86469ef330 /arch/blackfin | |
parent | ee3773367b8eb90fcb3ad61e7e632e8239323fa3 (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/Makefile | 1 |
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 | |||
16 | KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) | 16 | KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) |
17 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) | 17 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) |
18 | CFLAGS_MODULE += -mlong-calls | 18 | CFLAGS_MODULE += -mlong-calls |
19 | LDFLAGS_MODULE += -m elf32bfin | ||
19 | KALLSYMS += --symbol-prefix=_ | 20 | KALLSYMS += --symbol-prefix=_ |
20 | 21 | ||
21 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig | 22 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig |