diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-30 04:30:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:15:25 -0500 |
commit | e92d32fcb9925884a0ad9e1ad8f10d837d7de7a6 (patch) | |
tree | 495b76fa62311dc174c815466e6b1e86469ef330 /arch/blackfin/Makefile | |
parent | ee3773367b8eb90fcb3ad61e7e632e8239323fa3 (diff) | |
download | linux-e92d32fcb9925884a0ad9e1ad8f10d837d7de7a6.tar.gz linux-e92d32fcb9925884a0ad9e1ad8f10d837d7de7a6.tar.bz2 linux-e92d32fcb9925884a0ad9e1ad8f10d837d7de7a6.zip |
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/Makefile')
-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 KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) CFLAGS_MODULE += -mlong-calls +LDFLAGS_MODULE += -m elf32bfin KALLSYMS += --symbol-prefix=_ KBUILD_DEFCONFIG := BF537-STAMP_defconfig |