xtables-addons: Automatically detect location of kernel source
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 May 2019 09:25:46 +0000 (10:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 May 2019 09:25:46 +0000 (10:25 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/xtables-addons

index 4cf220c..162ef87 100644 (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.