X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9821804484944af9916e3b2e37eb5a4e6892910b..96bb4a5d0186a748ef5e78158305aa7b1d174350:/obsolete-buildroot/make/netfilter.mk diff --git a/obsolete-buildroot/make/netfilter.mk b/obsolete-buildroot/make/netfilter.mk index 53f2b48c7..dd69b2cc6 100644 --- a/obsolete-buildroot/make/netfilter.mk +++ b/obsolete-buildroot/make/netfilter.mk @@ -33,13 +33,14 @@ $(DL_DIR)/$(NETFILTER_SOURCE): netfilter-source: $(DL_DIR)/$(NETFILTER_SOURCE) -$(NETFILTER_DIR)/.unpacked: $(DL_DIR)/$(NETFILTER_SOURCE) host-sed +$(NETFILTER_DIR)/.unpacked: $(DL_DIR)/$(NETFILTER_SOURCE) $(NETFILTER_CAT) $(DL_DIR)/$(NETFILTER_SOURCE) | tar -C $(BUILD_DIR) -xvf - #ignore whitespace in patches $(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