X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fiptables%2Fiptables.mk;h=e343a6122e921071a14e6bc5aa84bba95ab501c6;hb=b29ef886116d541c519807a1b277882a32147f08;hp=99cf14f2754f384647c299b6f63fd362977bcb65;hpb=8f7eb15b654ac35da235176283e417256e41bb84;p=openwrt-10.03%2F.git diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk index 99cf14f27..e343a6122 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