aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte/patches/106-no_module_reloc.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-03-18 13:33:18 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-03-18 13:33:18 +0000
commit4c8f56fd1d62382fac641e58218da022a76be131 (patch)
tree592e60f94c83ab5f5acce8d2a2bc2522a88f8e06 /target/linux/sibyte/patches/106-no_module_reloc.patch
parent84aafe1f9aeb3beac2c4dbfff79f4322f3d2dcb0 (diff)
downloadupstream-4c8f56fd1d62382fac641e58218da022a76be131.tar.gz
upstream-4c8f56fd1d62382fac641e58218da022a76be131.tar.bz2
upstream-4c8f56fd1d62382fac641e58218da022a76be131.zip
[sibyte]: upgrade to 2.6.37.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26228 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sibyte/patches/106-no_module_reloc.patch')
-rw-r--r--target/linux/sibyte/patches/106-no_module_reloc.patch8
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 3b1f12427a..108b498088 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