X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ca91c000e56d7d4b70f3d3b39e38261a880bff2f..e813f121f9fc43c71f43d384731f43e39fda6fd2:/openwrt/package/iptables/iptables.mk diff --git a/openwrt/package/iptables/iptables.mk b/openwrt/package/iptables/iptables.mk index 99cf14f27..e343a6122 100644 --- a/openwrt/package/iptables/iptables.mk +++ b/openwrt/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