]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/ipset
ipset: Don't (re-)build kernel module here
[ipfire-2.x.git] / lfs / ipset
index e92d43fcb2438f4b777c6d76f88dae0b4cb6162b..7c43b308c3d6c55987aac62845a2ba34a5eec2e1 100644 (file)
--- a/lfs/ipset
+++ b/lfs/ipset
@@ -71,8 +71,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./autogen.sh
-       cd $(DIR_APP) && KSOURCEDIR=/usr/src/linux KBUILDDIR=/usr/src/linux ./configure \
+       cd $(DIR_APP) && ./configure \
                --prefix=/usr \
+               --with-kmod=no \
                --disable-static
 
        # Add configuration directory