aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-09 18:53:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-09 18:53:06 +0000
commit93575b53a7d72b7208176a07d34b06a6e2598ac7 (patch)
treeace2f795f6550ab9b61ba0ebcadc0ce97af8b60a /package/iptables/Makefile
parentb0e20c3895e12bde51af29171cc3372f5f2692b7 (diff)
downloadupstream-93575b53a7d72b7208176a07d34b06a6e2598ac7.tar.gz
upstream-93575b53a7d72b7208176a07d34b06a6e2598ac7.tar.bz2
upstream-93575b53a7d72b7208176a07d34b06a6e2598ac7.zip
Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> SVN-Revision: 9694
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index f76424862a..80646cd667 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -256,7 +256,7 @@ define Package/iptables/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DATA) ./files/firewall.awk $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/lib/iptables
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
$(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(1)/usr/lib/iptables/ \
@@ -265,12 +265,12 @@ endef
define Package/iptables-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/
endef
define Package/ip6tables/install
$(INSTALL_DIR) $(1)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/lib/iptables
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
$(CP) libip6t_*.so $(1)/usr/lib/iptables/ \
@@ -279,7 +279,7 @@ endef
define Package/ip6tables-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-{save,restore} $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-{save,restore} $(1)/usr/sbin/
endef
define BuildPlugin