]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ipset: Don't (re-)build kernel module here
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 May 2017 08:28:45 +0000 (10:28 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 11:22:47 +0000 (12:22 +0100)
The reason why this comes up is that we currently don't build
a kernel for aarch64 and therefore building ipset fails.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
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