]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/ipp2p
Builderror von IPP2P und Apache gefixt.
[people/pmueller/ipfire-2.x.git] / lfs / ipp2p
index af20feff0d8d05045f1d3c731da8d731519ce0c3..cf206fdc863a04ffff0589c63faba0e607841df3 100644 (file)
--- a/lfs/ipp2p
+++ b/lfs/ipp2p
@@ -63,14 +63,16 @@ $(TARGET) :
        @cp -vf $(DIR_SRC)/src/ipp2p/* $(DIR_APP)
        cd $(DIR_SRC) && rm -rf iptables-*
        cd $(DIR_SRC) && tar xfj $(DIR_DL)/iptables-1.3.5.tar.bz2
-       cd $(DIR_SRC) && ln -sf iptables-1.3.5 iptables
-       cd $(DIR_APP) && make
+       cd $(DIR_SRC) && ln -sf iptables-* iptables
 ifeq "$(SMP)" "1"
+       cd $(DIR_APP) && make ipt_ipp2p.ko
        cp -f $(DIR_APP)/ipt_ipp2p.ko /lib/modules/$(KVER)-smp/kernel/net/ipv4/netfilter
 else
 ifeq "$(IPT)" "1"
+       cd $(DIR_APP) && make
        cp -f $(DIR_APP)/libipt_ipp2p.o /lib/iptables
 else
+       cd $(DIR_APP) && make ipt_ipp2p.ko
        cp -f $(DIR_APP)/ipt_ipp2p.ko /lib/modules/$(KVER)/kernel/net/ipv4/netfilter
 endif
 endif