xtables-addons: Automatically detect location of kernel source

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-05-10 10:25:46 +01:00
parent 0ad5f6a1fc
commit 0aa8284905

View File

@@ -101,9 +101,7 @@ ifeq "$(USPACE)" "1"
cd $(DIR_APP) && install -m 755 geoip/xt_geoip_build \
/usr/local/bin/
else
cd $(DIR_APP) && ./configure \
--with-kbuild=/usr/src/linux-$(KVER)/
cd $(DIR_APP) && ./configure
cd $(DIR_APP) && make $(MAKETUNING)
# Install the built kernel modules.