Patch iptables for use with HA kernel patch (XFRM hooks)

This commit is contained in:
Tobias Brunner
2013-01-17 16:54:56 +01:00
parent 1a16b170ba
commit ac8c96e51b
2 changed files with 75 additions and 4 deletions
+14 -4
View File
@@ -9,19 +9,29 @@ NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
CONFIG_OPTS =
PATCHES = \
iptables-xfrm-hooks
all: install
$(TAR):
wget $(SRC)
$(PKG): $(TAR)
.$(PKG)-unpacked: $(TAR)
tar xfj $(TAR)
@touch $@
configure: $(PKG)
.$(PKG)-patches-applied: .$(PKG)-unpacked
cd $(PKG) && cat $(addprefix ../patches/, $(PATCHES)) | patch -p1
@touch $@
.$(PKG)-configured: .$(PKG)-patches-applied
cd $(PKG) && ./configure $(CONFIG_OPTS)
@touch $@
build: configure
.$(PKG)-built: .$(PKG)-configured
cd $(PKG) && make -j $(NUM_CPUS)
@touch $@
install: build
install: .$(PKG)-built
cd $(PKG) && make install