split kernel patches into board dependend and generic
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 30 May 2005 22:46:44 +0000 (22:46 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 30 May 2005 22:46:44 +0000 (22:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1122 3c298f89-4303-0410-b956-a3cf2f4a3e73

29 files changed:
target/linux/linux-2.4/Makefile
target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch [moved from target/linux/linux-2.4/patches/001-bcm47xx.patch with 100% similarity]
target/linux/linux-2.4/patches/brcm/002-wl_fix.patch [moved from target/linux/linux-2.4/patches/002-wl_fix.patch with 100% similarity]
target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch [moved from target/linux/linux-2.4/patches/006-bcm47xx_workarounds.patch with 100% similarity]
target/linux/linux-2.4/patches/brcm/004-bcm94710_mmu.patch [moved from target/linux/linux-2.4/patches/007-bcm94710_mmu.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/000-linux_mips.patch [moved from target/linux/linux-2.4/patches/000-linux_mips.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/001-squashfs.patch [moved from target/linux/linux-2.4/patches/003-squashfs.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/002-squashfs_lzma.patch [moved from target/linux/linux-2.4/patches/004-squashfs_lzma.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/003-jffs2_compression.patch [moved from target/linux/linux-2.4/patches/005-jffs2_compression.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch [new file with mode: 0644]
target/linux/linux-2.4/patches/generic/100-ebtables.patch [moved from target/linux/linux-2.4/patches/100-ebtables.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/101-netfilter_ipp2p.patch [moved from target/linux/linux-2.4/patches/101-netfilter_ipp2p.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/102-netfilter_layer7.patch [moved from target/linux/linux-2.4/patches/102-netfilter_layer7.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/103-netfilter_nat_pptp.patch [moved from target/linux/linux-2.4/patches/103-netfilter_nat_pptp.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/104-netfilter_maxconn.patch [moved from target/linux/linux-2.4/patches/104-netfilter_maxconn.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/105-netfilter_TTL.patch [moved from target/linux/linux-2.4/patches/105-netfilter_TTL.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/106-mppe_mppc.patch [moved from target/linux/linux-2.4/patches/106-mppe_mppc.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/107-cifs.patch [moved from target/linux/linux-2.4/patches/107-cifs.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/108-optional_aout_support.patch [moved from target/linux/linux-2.4/patches/108-optional_aout_support.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/109-ipsec_nat_traversal.patch [moved from target/linux/linux-2.4/patches/109-ipsec_nat_traversal.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/110-netdev_random_core.patch [moved from target/linux/linux-2.4/patches/110-netdev_random_core.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/200-i4l.patch [moved from target/linux/linux-2.4/patches/200-i4l.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/201-hfc_usb_backport.patch [moved from target/linux/linux-2.4/patches/201-hfc_usb_backport.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/202-pl2303_backport.patch [moved from target/linux/linux-2.4/patches/202-pl2303_backport.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/203-hfsplus_fix.patch [moved from target/linux/linux-2.4/patches/203-hfsplus_fix.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/204-net_b44.patch [moved from target/linux/linux-2.4/patches/204-net_b44.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/205-gcc_3.4_ldscript.patch [moved from target/linux/linux-2.4/patches/205-gcc_3.4_ldscript.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/206-gcc_3.4_fixes.patch [moved from target/linux/linux-2.4/patches/206-gcc_3.4_fixes.patch with 100% similarity]
target/linux/linux-2.4/patches/generic/207-gcc_4.0_fixes.patch [moved from target/linux/linux-2.4/patches/207-gcc_4.0_fixes.patch with 100% similarity]

index 263339f359689b9b6ec93cc77ea946f2c8dab07b..af06b1154e9338b75bbca482c026b21e773cfaa2 100644 (file)
@@ -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/generic/004-exec_pagesize.patch b/target/linux/linux-2.4/patches/generic/004-exec_pagesize.patch
new file mode 100644 (file)
index 0000000..a7b1d04
--- /dev/null
@@ -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