summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-30 22:46:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-30 22:46:44 +0000
commitcd94ce2d108199a281e9cac009b03ff9e4e456e9 (patch)
tree4b503968543279252d859a1469f4002c4c092c30
parentf7c678437027e96f8dfa508b0cc65215e75f1952 (diff)
downloadmtk-20170518-cd94ce2d108199a281e9cac009b03ff9e4e456e9.zip
mtk-20170518-cd94ce2d108199a281e9cac009b03ff9e4e456e9.tar.gz
mtk-20170518-cd94ce2d108199a281e9cac009b03ff9e4e456e9.tar.bz2
split kernel patches into board dependend and generic
SVN-Revision: 1122
-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 263339f..af06b11 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 5e3fc34..5e3fc34 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 ffb82aa..ffb82aa 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 6e52e9c..6e52e9c 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 9fd0162..9fd0162 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 e2ebfce..e2ebfce 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 762b5a4..762b5a4 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 570dce9..570dce9 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 56c5b3c..56c5b3c 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 0000000..a7b1d04
--- /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 b1c34ab..b1c34ab 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 1314ae4..1314ae4 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 4dd1fce..4dd1fce 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 6c7d6e6..6c7d6e6 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 001ed67..001ed67 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 0aa3c80..0aa3c80 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 382b462..382b462 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 bdccf4d..bdccf4d 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 56dc199..56dc199 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 fc4c29d..fc4c29d 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 784b65e..784b65e 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 c9833e2..c9833e2 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 4ef20fa..4ef20fa 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 8577499..8577499 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 695a2d3..695a2d3 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 300bacd..300bacd 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 782a9ce..782a9ce 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 27adbf1..27adbf1 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 e670368..e670368 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