more use of the INSTALL_DIR variable

SVN-Revision: 6023
This commit is contained in:
Nicolas Thill 2007-01-08 00:53:24 +00:00
parent 6999dd0f42
commit bed47be36c
4 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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))

View file

@ -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))

View file

@ -37,7 +37,7 @@ define Build/Compile
endef
define Package/qos-scripts/install
mkdir -p $(1)
$(INSTALL_DIR) $(1)
$(CP) ./files/* $(1)/
endef