Patch iptables for use with HA kernel patch (XFRM hooks)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user