]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/xtables-addons
xtables-addons: Automatically detect location of kernel source
[ipfire-2.x.git] / 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) && ./configure \
-               --with-kbuild=/usr/src/linux-$(KVER)/
-
+       cd $(DIR_APP) && ./configure
        cd $(DIR_APP) && make $(MAKETUNING)
 
        # Install the built kernel modules.