mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
ee3773367b
commit
e92d32fcb9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue