]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
xtables-addons: Explicitely add path for alternative kernels
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 May 2019 09:21:32 +0000 (10:21 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 May 2019 09:21:32 +0000 (10:21 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
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.