aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-01-08 00:53:24 +0000
committerNicolas Thill <nico@openwrt.org>2007-01-08 00:53:24 +0000
commita1156c89c4dcca1d567d722ead3580a00f599390 (patch)
tree51f9fc4545882754b0dd1fcaa3b7d1865071adbf /package
parente9b2fe8f02e861bfacea2688851d72347661c88e (diff)
downloadupstream-a1156c89c4dcca1d567d722ead3580a00f599390.tar.gz
upstream-a1156c89c4dcca1d567d722ead3580a00f599390.tar.bz2
upstream-a1156c89c4dcca1d567d722ead3580a00f599390.zip
more use of the INSTALL_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6023 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/ifenslave/Makefile4
-rw-r--r--package/iptables/Makefile3
-rw-r--r--package/qos-scripts/Makefile2
4 files changed, 6 insertions, 5 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 2927d70436..1ad4074002 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -75,7 +75,7 @@ define Package/busybox/install
IPKG_ARCH="$(ARCH)" \
CONFIG_PREFIX="$(1)" \
install
- mkdir -p $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/init.d
for tmp in $(init-y); do \
$(INSTALL_BIN) ./files/$$$$tmp $(1)/etc/init.d/$$$$tmp; \
done
diff --git a/package/ifenslave/Makefile b/package/ifenslave/Makefile
index d4d33440df..f20498a30b 100644
--- a/package/ifenslave/Makefile
+++ b/package/ifenslave/Makefile
@@ -35,8 +35,8 @@ define Build/Compile
endef
define Package/ifenslave/install
- mkdir -p $(1)/sbin
- $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
+ $(INSTALL_DIR) $(1)/sbin
+ $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin/
endef
$(eval $(call BuildPackage,ifenslave))
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 300ea7fdd0..6e486df925 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -241,7 +241,8 @@ define BuildPlugin
$$(eval $$(call BuildPackage,$(1)))
endef
-L7_INSTALL:=mkdir -p $$(1)/etc/l7-protocols; \
+L7_INSTALL:=\
+ $(INSTALL_DIR) $$(1)/etc/l7-protocols; \
$(CP) files/l7/*.pat $$(1)/etc/l7-protocols/
$(eval $(call BuildPackage,iptables))
diff --git a/package/qos-scripts/Makefile b/package/qos-scripts/Makefile
index bb5a9639f1..8124bc7558 100644
--- a/package/qos-scripts/Makefile
+++ b/package/qos-scripts/Makefile
@@ -37,7 +37,7 @@ define Build/Compile
endef
define Package/qos-scripts/install
- mkdir -p $(1)
+ $(INSTALL_DIR) $(1)
$(CP) ./files/* $(1)/
endef