aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-02-19 07:40:42 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-02-19 07:40:42 +0000
commit3d5a4b036c3ad035450aa7fdac8c39d2f0bc6fa2 (patch)
treebc97aa1d9e154d01dc441fd3a6486e6ad5b939d3 /package/iptables
parent4a943abed804444df3efbef7469287646f801e0d (diff)
downloadupstream-3d5a4b036c3ad035450aa7fdac8c39d2f0bc6fa2.tar.gz
upstream-3d5a4b036c3ad035450aa7fdac8c39d2f0bc6fa2.tar.bz2
upstream-3d5a4b036c3ad035450aa7fdac8c39d2f0bc6fa2.zip
sync with buildroot2 from uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@262 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rw-r--r--package/iptables/Makefile.in3
-rw-r--r--package/iptables/iptables.mk6
2 files changed, 5 insertions, 4 deletions
diff --git a/package/iptables/Makefile.in b/package/iptables/Makefile.in
deleted file mode 100644
index 5be894b9a6..0000000000
--- a/package/iptables/Makefile.in
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y)
-TARGETS+=iptables
-endif
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 99cf14f275..e343a6122e 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -39,7 +39,7 @@ $(TARGET_DIR)/usr/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables
$(STRIP) $(TARGET_DIR)/usr/lib/iptables/*.so
rm -rf $(TARGET_DIR)/usr/man
-iptables: $(TARGET_DIR)/usr/sbin/iptables
+iptables: kernel-headers $(TARGET_DIR)/usr/sbin/iptables
iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE)
@@ -49,3 +49,7 @@ iptables-clean:
iptables-dirclean:
rm -rf $(IPTABLES_BUILD_DIR)
+
+ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y)
+TARGETS+=iptables
+endif