summaryrefslogtreecommitdiff
path: root/openwrt/target
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-30 22:46:44 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-30 22:46:44 +0000
commit195b21ed59f3a93659c747b979693085ad30bffb (patch)
tree4b503968543279252d859a1469f4002c4c092c30 /openwrt/target
parenta900896f0e00f58f0f5661e73215f53ef7ae0323 (diff)
split kernel patches into board dependend and generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1122 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target')
-rw-r--r--openwrt/target/linux/linux-2.4/Makefile3
-rw-r--r--openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch (renamed from openwrt/target/linux/linux-2.4/patches/001-bcm47xx.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/brcm/002-wl_fix.patch (renamed from openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch (renamed from openwrt/target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch (renamed from openwrt/target/linux/linux-2.4/patches/007-bcm94710_mmu.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/000-linux_mips.patch (renamed from openwrt/target/linux/linux-2.4/patches/000-linux_mips.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/001-squashfs.patch (renamed from openwrt/target/linux/linux-2.4/patches/003-squashfs.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch (renamed from openwrt/target/linux/linux-2.4/patches/004-squashfs_lzma.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch (renamed from openwrt/target/linux/linux-2.4/patches/005-jffs2_compression.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch11
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/100-ebtables.patch (renamed from openwrt/target/linux/linux-2.4/patches/100-ebtables.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch (renamed from openwrt/target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch (renamed from openwrt/target/linux/linux-2.4/patches/102-netfilter_layer7.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch (renamed from openwrt/target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch (renamed from openwrt/target/linux/linux-2.4/patches/104-netfilter_maxconn.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch (renamed from openwrt/target/linux/linux-2.4/patches/105-netfilter_TTL.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch (renamed from openwrt/target/linux/linux-2.4/patches/106-mppe_mppc.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/107-cifs.patch (renamed from openwrt/target/linux/linux-2.4/patches/107-cifs.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch (renamed from openwrt/target/linux/linux-2.4/patches/108-optional_aout_support.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch (renamed from openwrt/target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch (renamed from openwrt/target/linux/linux-2.4/patches/110-netdev_random_core.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/200-i4l.patch (renamed from openwrt/target/linux/linux-2.4/patches/200-i4l.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch (renamed from openwrt/target/linux/linux-2.4/patches/201-hfc_usb_backport.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch (renamed from openwrt/target/linux/linux-2.4/patches/202-pl2303_backport.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch (renamed from openwrt/target/linux/linux-2.4/patches/203-hfsplus_fix.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/204-net_b44.patch (renamed from openwrt/target/linux/linux-2.4/patches/204-net_b44.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch (renamed from openwrt/target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch (renamed from openwrt/target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch)0
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch (renamed from openwrt/target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch)0
29 files changed, 13 insertions, 1 deletions
diff --git a/openwrt/target/linux/linux-2.4/Makefile b/openwrt/target/linux/linux-2.4/Makefile
index 263339f359..af06b1154e 100644
--- a/openwrt/target/linux/linux-2.4/Makefile
+++ b/openwrt/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/openwrt/target/linux/linux-2.4/patches/001-bcm47xx.patch b/openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch
index 5e3fc34fe6..5e3fc34fe6 100644
--- a/openwrt/target/linux/linux-2.4/patches/001-bcm47xx.patch
+++ b/openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch b/openwrt/target/linux/linux-2.4/patches/brcm/002-wl_fix.patch
index ffb82aad35..ffb82aad35 100644
--- a/openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch
+++ b/openwrt/target/linux/linux-2.4/patches/brcm/002-wl_fix.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch b/openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch
index 6e52e9c725..6e52e9c725 100644
--- a/openwrt/target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch
+++ b/openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/007-bcm94710_mmu.patch b/openwrt/target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch
index 9fd0162ed0..9fd0162ed0 100644
--- a/openwrt/target/linux/linux-2.4/patches/007-bcm94710_mmu.patch
+++ b/openwrt/target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/000-linux_mips.patch b/openwrt/target/linux/linux-2.4/patches/generic/000-linux_mips.patch
index e2ebfce285..e2ebfce285 100644
--- a/openwrt/target/linux/linux-2.4/patches/000-linux_mips.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/000-linux_mips.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/003-squashfs.patch b/openwrt/target/linux/linux-2.4/patches/generic/001-squashfs.patch
index 762b5a4dea..762b5a4dea 100644
--- a/openwrt/target/linux/linux-2.4/patches/003-squashfs.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/001-squashfs.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/004-squashfs_lzma.patch b/openwrt/target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch
index 570dce99b7..570dce99b7 100644
--- a/openwrt/target/linux/linux-2.4/patches/004-squashfs_lzma.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/005-jffs2_compression.patch b/openwrt/target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch
index 56c5b3cbc0..56c5b3cbc0 100644
--- a/openwrt/target/linux/linux-2.4/patches/005-jffs2_compression.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch b/openwrt/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch
new file mode 100644
index 0000000000..a7b1d04064
--- /dev/null
+++ b/openwrt/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/openwrt/target/linux/linux-2.4/patches/100-ebtables.patch b/openwrt/target/linux/linux-2.4/patches/generic/100-ebtables.patch
index b1c34abe4d..b1c34abe4d 100644
--- a/openwrt/target/linux/linux-2.4/patches/100-ebtables.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/100-ebtables.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch b/openwrt/target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch
index 1314ae4fec..1314ae4fec 100644
--- a/openwrt/target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/102-netfilter_layer7.patch b/openwrt/target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch
index 4dd1fce2bd..4dd1fce2bd 100644
--- a/openwrt/target/linux/linux-2.4/patches/102-netfilter_layer7.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch b/openwrt/target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch
index 6c7d6e6f21..6c7d6e6f21 100644
--- a/openwrt/target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/104-netfilter_maxconn.patch b/openwrt/target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch
index 001ed67b88..001ed67b88 100644
--- a/openwrt/target/linux/linux-2.4/patches/104-netfilter_maxconn.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/105-netfilter_TTL.patch b/openwrt/target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch
index 0aa3c80432..0aa3c80432 100644
--- a/openwrt/target/linux/linux-2.4/patches/105-netfilter_TTL.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/106-mppe_mppc.patch b/openwrt/target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch
index 382b4623f2..382b4623f2 100644
--- a/openwrt/target/linux/linux-2.4/patches/106-mppe_mppc.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/107-cifs.patch b/openwrt/target/linux/linux-2.4/patches/generic/107-cifs.patch
index bdccf4de9f..bdccf4de9f 100644
--- a/openwrt/target/linux/linux-2.4/patches/107-cifs.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/107-cifs.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/108-optional_aout_support.patch b/openwrt/target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch
index 56dc1991cf..56dc1991cf 100644
--- a/openwrt/target/linux/linux-2.4/patches/108-optional_aout_support.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch b/openwrt/target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch
index fc4c29d27e..fc4c29d27e 100644
--- a/openwrt/target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/110-netdev_random_core.patch b/openwrt/target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch
index 784b65e41c..784b65e41c 100644
--- a/openwrt/target/linux/linux-2.4/patches/110-netdev_random_core.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/200-i4l.patch b/openwrt/target/linux/linux-2.4/patches/generic/200-i4l.patch
index c9833e2a30..c9833e2a30 100644
--- a/openwrt/target/linux/linux-2.4/patches/200-i4l.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/200-i4l.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/201-hfc_usb_backport.patch b/openwrt/target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch
index 4ef20fa8ba..4ef20fa8ba 100644
--- a/openwrt/target/linux/linux-2.4/patches/201-hfc_usb_backport.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/202-pl2303_backport.patch b/openwrt/target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch
index 8577499b0d..8577499b0d 100644
--- a/openwrt/target/linux/linux-2.4/patches/202-pl2303_backport.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/203-hfsplus_fix.patch b/openwrt/target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch
index 695a2d36b5..695a2d36b5 100644
--- a/openwrt/target/linux/linux-2.4/patches/203-hfsplus_fix.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/204-net_b44.patch b/openwrt/target/linux/linux-2.4/patches/generic/204-net_b44.patch
index 300bacd004..300bacd004 100644
--- a/openwrt/target/linux/linux-2.4/patches/204-net_b44.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/204-net_b44.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch b/openwrt/target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch
index 782a9ce6fa..782a9ce6fa 100644
--- a/openwrt/target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch b/openwrt/target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch
index 27adbf163e..27adbf163e 100644
--- a/openwrt/target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch
diff --git a/openwrt/target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch b/openwrt/target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch
index e6703680e1..e6703680e1 100644
--- a/openwrt/target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch
+++ b/openwrt/target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch