xtables-addons: Automatically detect location of kernel source
[ipfire-2.x.git] / 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.