diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-17 02:34:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:24 -0500 |
commit | 874f6cfd3a05d5452064531078cae9b19a5e790c (patch) | |
tree | 59f350419005a237ba05f173436091c5c01b6e32 | |
parent | 9fc205283f8b163fba611a40226afdd82f4f29d3 (diff) |
Blackfin: move "-m elf32bfin" to general LDFLAGS
Common code now invokes the linker directly which causes build failures
when using an FDPIC toolchain. So move the emulation setting out of the
module-specific LDFLAGS and into the common LDFLAGS.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | arch/blackfin/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 46738d49b7c8..802ac5fae88a 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -19,7 +19,7 @@ KBUILD_CFLAGS += -mlong-calls | |||
19 | endif | 19 | endif |
20 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) | 20 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) |
21 | KBUILD_CFLAGS_MODULE += -mlong-calls | 21 | KBUILD_CFLAGS_MODULE += -mlong-calls |
22 | KBUILD_LDFLAGS_MODULE += -m elf32bfin | 22 | LDFLAGS += -m elf32bfin |
23 | KALLSYMS += --symbol-prefix=_ | 23 | KALLSYMS += --symbol-prefix=_ |
24 | 24 | ||
25 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig | 25 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig |