]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 4cf220c4e13ed3e1e53f4c302d1845c08a61759a..162ef87d8c82eb764d740c4f2323feeaa4fd8c0e 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) && 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.
        cd $(DIR_APP) && make $(MAKETUNING)
 
        # Install the built kernel modules.