aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/linux-2.4
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/linux-2.4')
-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 263339f359..af06b1154e 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 5e3fc34fe6..5e3fc34fe6 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 ffb82aad35..ffb82aad35 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 6e52e9c725..6e52e9c725 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 9fd0162ed0..9fd0162ed0 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 e2ebfce285..e2ebfce285 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 762b5a4dea..762b5a4dea 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 570dce99b7..570dce99b7 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 56c5b3cbc0..56c5b3cbc0 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 0000000000..a7b1d04064
--- /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 b1c34abe4d..b1c34abe4d 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 1314ae4fec..1314ae4fec 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 4dd1fce2bd..4dd1fce2bd 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 6c7d6e6f21..6c7d6e6f21 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 001ed67b88..001ed67b88 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 0aa3c80432..0aa3c80432 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 382b4623f2..382b4623f2 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 bdccf4de9f..bdccf4de9f 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 56dc1991cf..56dc1991cf 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 fc4c29d27e..fc4c29d27e 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 784b65e41c..784b65e41c 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 c9833e2a30..c9833e2a30 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 4ef20fa8ba..4ef20fa8ba 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 8577499b0d..8577499b0d 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 695a2d36b5..695a2d36b5 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 300bacd004..300bacd004 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 782a9ce6fa..782a9ce6fa 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 27adbf163e..27adbf163e 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 e6703680e1..e6703680e1 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