projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync with buildroot2 from uclibc, add two variables PACKAGE_DIR and PATCH, remove...
[openwrt-10.03/.git]
/
package
/
iptables
/
iptables.mk
diff --git
a/package/iptables/iptables.mk
b/package/iptables/iptables.mk
index 99cf14f2754f384647c299b6f63fd362977bcb65..e343a6122e921071a14e6bc5aa84bba95ab501c6 100644
(file)
--- 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
$(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)
iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE)
@@
-49,3
+49,7
@@
iptables-clean:
iptables-dirclean:
rm -rf $(IPTABLES_BUILD_DIR)
iptables-dirclean:
rm -rf $(IPTABLES_BUILD_DIR)
+
+ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y)
+TARGETS+=iptables
+endif