diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2011-03-18 13:33:18 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2011-03-18 13:33:18 +0000 |
commit | de69f84399125d33f593c1a2245ca9ff886b0ae7 (patch) | |
tree | 4993ed1520f05d4dcaf127e649863141aa0fbb46 /target/linux/sibyte/patches/106-no_module_reloc.patch | |
parent | 4ef09dc5f8bbf051437f921ec972ff10c4248edc (diff) | |
download | mtk-20170518-de69f84399125d33f593c1a2245ca9ff886b0ae7.zip mtk-20170518-de69f84399125d33f593c1a2245ca9ff886b0ae7.tar.gz mtk-20170518-de69f84399125d33f593c1a2245ca9ff886b0ae7.tar.bz2 |
upgrade to 2.6.37.4
SVN-Revision: 26228
Diffstat (limited to 'target/linux/sibyte/patches/106-no_module_reloc.patch')
-rw-r--r-- | target/linux/sibyte/patches/106-no_module_reloc.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/sibyte/patches/106-no_module_reloc.patch b/target/linux/sibyte/patches/106-no_module_reloc.patch index 3b1f124..108b498 100644 --- a/target/linux/sibyte/patches/106-no_module_reloc.patch +++ b/target/linux/sibyte/patches/106-no_module_reloc.patch @@ -1,11 +1,13 @@ --- a/arch/mips/Makefile +++ b/arch/mips/Makefile -@@ -85,7 +85,7 @@ all-$(CONFIG_BOOT_ELF64) := $(vmlinux-64 +@@ -93,8 +93,8 @@ all-$(CONFIG_SYS_SUPPORTS_ZBOOT)+= vmlin cflags-y += -G 0 -mno-abicalls -fno-pic -pipe cflags-y += -msoft-float LDFLAGS_vmlinux += -G 0 -static -n -nostdlib --MODFLAGS += -mno-long-calls -+MODFLAGS += -mlong-calls +-KBUILD_AFLAGS_MODULE += -mno-long-calls +-KBUILD_CFLAGS_MODULE += -mno-long-calls ++KBUILD_AFLAGS_MODULE += -mlong-calls ++KBUILD_CFLAGS_MODULE += -mlong-calls cflags-y += -ffreestanding |