moved netfilter patches to avoid conflicts with patch-o-matic
authorMike Baker <mbm@openwrt.org>
Sun, 19 Sep 2004 07:46:50 +0000 (07:46 +0000)
committerMike Baker <mbm@openwrt.org>
Sun, 19 Sep 2004 07:46:50 +0000 (07:46 +0000)
SVN-Revision: 165

obsolete-buildroot/make/netfilter.mk
obsolete-buildroot/make/openwrt.mk

index 801f74af6bf54a7b60d971779d40644ac086a37e..dd69b2cc6abbed6aae5f87b83b7af1d4ef02a5d6 100644 (file)
@@ -39,7 +39,8 @@ $(NETFILTER_DIR)/.unpacked: $(DL_DIR)/$(NETFILTER_SOURCE)
        $(SED) "s,\-p1,\-l \-p1," $(NETFILTER_DIR)/runme
        touch $(NETFILTER_DIR)/.unpacked
 
-$(LINUX_DIR)/.nf-patched: $(LINUX_DIR)/.patched $(NETFILTER_DIR)/.unpacked
+$(LINUX_DIR)/.nf-patched: $(LINUX_DIR)/.unpacked $(NETFILTER_DIR)/.unpacked
+       $(SOURCE_DIR)/patch-kernel.sh $(LINUX_DIR) $(SOURCE_DIR)/openwrt/kernel/netfilter/patches
        -(cd $(NETFILTER_DIR); KERNEL_DIR=$(LINUX_DIR) ./runme --batch $(NETFILTER_EXCLUDE) $(NETFILTER_PATCHES))
        touch $(LINUX_DIR)/.nf-patched
 
index fbf1cffb81a3827fdc9aaeeeb5663a5b20af5aab..6b77c2c56d5817bbc30872bf86b24b9796025793 100644 (file)
@@ -60,7 +60,7 @@ $(LINUX_DIR)/.patched: $(WRT54G_DIR)/.prepared
        )
        touch $(LINUX_DIR)/.patched
 
-$(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched $(LINUX_DIR)/.bbc-patched $(LINUX_DIR)/.nf-patched 
+$(LINUX_DIR)/.configured: $(LINUX_DIR)/.nf-patched $(LINUX_DIR)/.patched $(LINUX_DIR)/.bbc-patched
        $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/Makefile
        $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/arch/mips/Makefile
        $(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile