more use of the INSTALL_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6023 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
e9b2fe8f02
commit
a1156c89c4
|
@ -75,7 +75,7 @@ define Package/busybox/install
|
||||||
IPKG_ARCH="$(ARCH)" \
|
IPKG_ARCH="$(ARCH)" \
|
||||||
CONFIG_PREFIX="$(1)" \
|
CONFIG_PREFIX="$(1)" \
|
||||||
install
|
install
|
||||||
mkdir -p $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
for tmp in $(init-y); do \
|
for tmp in $(init-y); do \
|
||||||
$(INSTALL_BIN) ./files/$$$$tmp $(1)/etc/init.d/$$$$tmp; \
|
$(INSTALL_BIN) ./files/$$$$tmp $(1)/etc/init.d/$$$$tmp; \
|
||||||
done
|
done
|
||||||
|
|
|
@ -35,8 +35,8 @@ define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ifenslave/install
|
define Package/ifenslave/install
|
||||||
mkdir -p $(1)/sbin
|
$(INSTALL_DIR) $(1)/sbin
|
||||||
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
|
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,ifenslave))
|
$(eval $(call BuildPackage,ifenslave))
|
||||||
|
|
|
@ -241,7 +241,8 @@ define BuildPlugin
|
||||||
$$(eval $$(call BuildPackage,$(1)))
|
$$(eval $$(call BuildPackage,$(1)))
|
||||||
endef
|
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/
|
$(CP) files/l7/*.pat $$(1)/etc/l7-protocols/
|
||||||
|
|
||||||
$(eval $(call BuildPackage,iptables))
|
$(eval $(call BuildPackage,iptables))
|
||||||
|
|
|
@ -37,7 +37,7 @@ define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/qos-scripts/install
|
define Package/qos-scripts/install
|
||||||
mkdir -p $(1)
|
$(INSTALL_DIR) $(1)
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue