projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee37733
)
Blackfin: force BFD target when linking modules
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 30 Oct 2009 04:30:54 +0000
(
04:30
+0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 15 Dec 2009 05:15:25 +0000
(
00:15
-0500)
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>
arch/blackfin/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/Makefile
b/arch/blackfin/Makefile
index 9507e21ac0ac5aa4ced456bb01c0057f76f7be36..d4c7177e765649ec558db90bdc8a0ee1198ebf5b 100644
(file)
--- 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