summaryrefslogtreecommitdiffstats
path: root/rules/iptables.make
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2012-05-15 21:13:01 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-05-23 18:56:05 +0200
commitd8832e52ab8cc4496d62dbc8c8fd8b29f1e85176 (patch)
tree4f1a1932a6bb0f59294fd7985f462ea4cb82a2f5 /rules/iptables.make
parent73b2faaef1c4eb738032c3b419f5845222defe56 (diff)
downloadptxdist-d8832e52ab8cc4496d62dbc8c8fd8b29f1e85176.tar.gz
ptxdist-d8832e52ab8cc4496d62dbc8c8fd8b29f1e85176.tar.xz
iptables: Add option to build and install libipq
Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/iptables.make')
-rw-r--r--rules/iptables.make6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/iptables.make b/rules/iptables.make
index 4f4ba7a13..9030703b7 100644
--- a/rules/iptables.make
+++ b/rules/iptables.make
@@ -53,7 +53,7 @@ IPTABLES_AUTOCONF := \
--enable-devel \
--$(call ptx/endis, PTXCONF_IPTABLES_IPV4)-ipv4 \
--$(call ptx/endis, PTXCONF_IPTABLES_IPV6)-ipv6 \
- --disable-libipq
+ --$(call ptx/endis, PTXCONF_IPTABLES_LIBIPQ)-libipq
# ----------------------------------------------------------------------------
# Install
@@ -83,6 +83,10 @@ $(STATEDIR)/iptables.targetinstall:
@$(call install_lib, iptables, 0, 0, 0644, libiptc)
@$(call install_lib, iptables, 0, 0, 0644, libxtables)
+ifdef PTXCONF_IPTABLES_LIBIPQ
+ @$(call install_lib, iptables, 0, 0, 0644, libipq)
+endif
+
@cd $(IPTABLES_PKGDIR)/usr/lib && \
for file in libxt_*.so; do \
$(call install_copy, iptables, 0, 0, 0644, -,\