summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/linux-2.4/Makefile3
-rw-r--r--target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch (renamed from target/linux/linux-2.4/patches/001-bcm47xx.patch)0
-rw-r--r--target/linux/linux-2.4/patches/brcm/002-wl_fix.patch (renamed from target/linux/linux-2.4/patches/002-wl_fix.patch)0
-rw-r--r--target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch (renamed from target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch)0
-rw-r--r--target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch (renamed from target/linux/linux-2.4/patches/007-bcm94710_mmu.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/000-linux_mips.patch (renamed from target/linux/linux-2.4/patches/000-linux_mips.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/001-squashfs.patch (renamed from target/linux/linux-2.4/patches/003-squashfs.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch (renamed from target/linux/linux-2.4/patches/004-squashfs_lzma.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch (renamed from target/linux/linux-2.4/patches/005-jffs2_compression.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch11
-rw-r--r--target/linux/linux-2.4/patches/generic/100-ebtables.patch (renamed from target/linux/linux-2.4/patches/100-ebtables.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch (renamed from target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch (renamed from target/linux/linux-2.4/patches/102-netfilter_layer7.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch (renamed from target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch (renamed from target/linux/linux-2.4/patches/104-netfilter_maxconn.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch (renamed from target/linux/linux-2.4/patches/105-netfilter_TTL.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch (renamed from target/linux/linux-2.4/patches/106-mppe_mppc.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/107-cifs.patch (renamed from target/linux/linux-2.4/patches/107-cifs.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch (renamed from target/linux/linux-2.4/patches/108-optional_aout_support.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch (renamed from target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch (renamed from target/linux/linux-2.4/patches/110-netdev_random_core.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/200-i4l.patch (renamed from target/linux/linux-2.4/patches/200-i4l.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch (renamed from target/linux/linux-2.4/patches/201-hfc_usb_backport.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch (renamed from target/linux/linux-2.4/patches/202-pl2303_backport.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch (renamed from target/linux/linux-2.4/patches/203-hfsplus_fix.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/204-net_b44.patch (renamed from target/linux/linux-2.4/patches/204-net_b44.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch (renamed from target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch (renamed from target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch)0
-rw-r--r--target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch (renamed from target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch)0
29 files changed, 13 insertions, 1 deletions
diff --git a/target/linux/linux-2.4/Makefile b/target/linux/linux-2.4/Makefile
index 263339f35..af06b1154 100644
--- a/target/linux/linux-2.4/Makefile
+++ b/target/linux/linux-2.4/Makefile
@@ -169,7 +169,8 @@ $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) $(DL_DIR)/$(LINUX_BINARY_WL_DR
touch $(LINUX_DIR)/.unpacked
$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
- $(PATCH) $(LINUX_DIR) ./patches
+ [ -d ./patches/$(BOARD) ] && $(PATCH) $(LINUX_DIR) ./patches/$(BOARD)
+ $(PATCH) $(LINUX_DIR) ./patches/generic
touch $(LINUX_DIR)/.patched
$(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched
diff --git a/target/linux/linux-2.4/patches/001-bcm47xx.patch b/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch
index 5e3fc34fe..5e3fc34fe 100644
--- a/target/linux/linux-2.4/patches/001-bcm47xx.patch
+++ b/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch
diff --git a/target/linux/linux-2.4/patches/002-wl_fix.patch b/target/linux/linux-2.4/patches/brcm/002-wl_fix.patch
index ffb82aad3..ffb82aad3 100644
--- a/target/linux/linux-2.4/patches/002-wl_fix.patch
+++ b/target/linux/linux-2.4/patches/brcm/002-wl_fix.patch
diff --git a/target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch b/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch
index 6e52e9c72..6e52e9c72 100644
--- a/target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch
+++ b/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch
diff --git a/target/linux/linux-2.4/patches/007-bcm94710_mmu.patch b/target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch
index 9fd0162ed..9fd0162ed 100644
--- a/target/linux/linux-2.4/patches/007-bcm94710_mmu.patch
+++ b/target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch
diff --git a/target/linux/linux-2.4/patches/000-linux_mips.patch b/target/linux/linux-2.4/patches/generic/000-linux_mips.patch
index e2ebfce28..e2ebfce28 100644
--- a/target/linux/linux-2.4/patches/000-linux_mips.patch
+++ b/target/linux/linux-2.4/patches/generic/000-linux_mips.patch
diff --git a/target/linux/linux-2.4/patches/003-squashfs.patch b/target/linux/linux-2.4/patches/generic/001-squashfs.patch
index 762b5a4de..762b5a4de 100644
--- a/target/linux/linux-2.4/patches/003-squashfs.patch
+++ b/target/linux/linux-2.4/patches/generic/001-squashfs.patch
diff --git a/target/linux/linux-2.4/patches/004-squashfs_lzma.patch b/target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch
index 570dce99b..570dce99b 100644
--- a/target/linux/linux-2.4/patches/004-squashfs_lzma.patch
+++ b/target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch
diff --git a/target/linux/linux-2.4/patches/005-jffs2_compression.patch b/target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch
index 56c5b3cbc..56c5b3cbc 100644
--- a/target/linux/linux-2.4/patches/005-jffs2_compression.patch
+++ b/target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch
diff --git a/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch b/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch
new file mode 100644
index 000000000..a7b1d0406
--- /dev/null
+++ b/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch
@@ -0,0 +1,11 @@
+--- linux.old/include/asm-mips/param.h 2005-01-19 15:10:12.000000000 +0100
++++ linux.dev/include/asm-mips/param.h 2005-05-30 02:42:06.000000000 +0200
+@@ -55,7 +55,7 @@
+ #endif /* defined(__KERNEL__) */
+ #endif /* defined(HZ) */
+
+-#define EXEC_PAGESIZE 65536
++#define EXEC_PAGESIZE 4096
+
+ #ifndef NGROUPS
+ #define NGROUPS 32
diff --git a/target/linux/linux-2.4/patches/100-ebtables.patch b/target/linux/linux-2.4/patches/generic/100-ebtables.patch
index b1c34abe4..b1c34abe4 100644
--- a/target/linux/linux-2.4/patches/100-ebtables.patch
+++ b/target/linux/linux-2.4/patches/generic/100-ebtables.patch
diff --git a/target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch b/target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch
index 1314ae4fe..1314ae4fe 100644
--- a/target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch
+++ b/target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch
diff --git a/target/linux/linux-2.4/patches/102-netfilter_layer7.patch b/target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch
index 4dd1fce2b..4dd1fce2b 100644
--- a/target/linux/linux-2.4/patches/102-netfilter_layer7.patch
+++ b/target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch
diff --git a/target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch b/target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch
index 6c7d6e6f2..6c7d6e6f2 100644
--- a/target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch
+++ b/target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch
diff --git a/target/linux/linux-2.4/patches/104-netfilter_maxconn.patch b/target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch
index 001ed67b8..001ed67b8 100644
--- a/target/linux/linux-2.4/patches/104-netfilter_maxconn.patch
+++ b/target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch
diff --git a/target/linux/linux-2.4/patches/105-netfilter_TTL.patch b/target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch
index 0aa3c8043..0aa3c8043 100644
--- a/target/linux/linux-2.4/patches/105-netfilter_TTL.patch
+++ b/target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch
diff --git a/target/linux/linux-2.4/patches/106-mppe_mppc.patch b/target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch
index 382b4623f..382b4623f 100644
--- a/target/linux/linux-2.4/patches/106-mppe_mppc.patch
+++ b/target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch
diff --git a/target/linux/linux-2.4/patches/107-cifs.patch b/target/linux/linux-2.4/patches/generic/107-cifs.patch
index bdccf4de9..bdccf4de9 100644
--- a/target/linux/linux-2.4/patches/107-cifs.patch
+++ b/target/linux/linux-2.4/patches/generic/107-cifs.patch
diff --git a/target/linux/linux-2.4/patches/108-optional_aout_support.patch b/target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch
index 56dc1991c..56dc1991c 100644
--- a/target/linux/linux-2.4/patches/108-optional_aout_support.patch
+++ b/target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch
diff --git a/target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch b/target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch
index fc4c29d27..fc4c29d27 100644
--- a/target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch
+++ b/target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch
diff --git a/target/linux/linux-2.4/patches/110-netdev_random_core.patch b/target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch
index 784b65e41..784b65e41 100644
--- a/target/linux/linux-2.4/patches/110-netdev_random_core.patch
+++ b/target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch
diff --git a/target/linux/linux-2.4/patches/200-i4l.patch b/target/linux/linux-2.4/patches/generic/200-i4l.patch
index c9833e2a3..c9833e2a3 100644
--- a/target/linux/linux-2.4/patches/200-i4l.patch
+++ b/target/linux/linux-2.4/patches/generic/200-i4l.patch
diff --git a/target/linux/linux-2.4/patches/201-hfc_usb_backport.patch b/target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch
index 4ef20fa8b..4ef20fa8b 100644
--- a/target/linux/linux-2.4/patches/201-hfc_usb_backport.patch
+++ b/target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch
diff --git a/target/linux/linux-2.4/patches/202-pl2303_backport.patch b/target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch
index 8577499b0..8577499b0 100644
--- a/target/linux/linux-2.4/patches/202-pl2303_backport.patch
+++ b/target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch
diff --git a/target/linux/linux-2.4/patches/203-hfsplus_fix.patch b/target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch
index 695a2d36b..695a2d36b 100644
--- a/target/linux/linux-2.4/patches/203-hfsplus_fix.patch
+++ b/target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch
diff --git a/target/linux/linux-2.4/patches/204-net_b44.patch b/target/linux/linux-2.4/patches/generic/204-net_b44.patch
index 300bacd00..300bacd00 100644
--- a/target/linux/linux-2.4/patches/204-net_b44.patch
+++ b/target/linux/linux-2.4/patches/generic/204-net_b44.patch
diff --git a/target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch b/target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch
index 782a9ce6f..782a9ce6f 100644
--- a/target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch
+++ b/target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch
diff --git a/target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch b/target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch
index 27adbf163..27adbf163 100644
--- a/target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch
+++ b/target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch
diff --git a/target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch b/target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch
index e6703680e..e6703680e 100644
--- a/target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch
+++ b/target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch