]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/xtables-addons
xtables-addons: Explicitely add path for alternative kernels
[people/pmueller/ipfire-2.x.git] / lfs / xtables-addons
index 162ef87d8c82eb764d740c4f2323feeaa4fd8c0e..2152fa5fd1f4772e3a0c1846851c32a0d0fb3df1 100644 (file)
@@ -101,7 +101,8 @@ ifeq "$(USPACE)" "1"
        cd $(DIR_APP) && install -m 755 geoip/xt_geoip_build \
                /usr/local/bin/
 else
-       cd $(DIR_APP) && ./configure
+       cd $(DIR_APP) && ./configure \
+               --with-kbuild=/lib/modules/$$(uname -r)$(KCFG)/build
        cd $(DIR_APP) && make $(MAKETUNING)
 
        # Install the built kernel modules.