1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:18:26 +02:00

added a function, that packages can call to make installing files/folders much cleaner and easier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2007-10-07 01:55:03 +00:00
parent a5d5856756
commit 04b4c17bf2

View File

@ -121,6 +121,10 @@ define libtool_fixup_libdir
$(SED) "s,^libdir='/usr/lib',libdir='$(strip $(1))/usr/lib',g" $(SED) "s,^libdir='/usr/lib',libdir='$(strip $(1))/usr/lib',g"
endef endef
define pkg_install_files
$(foreach install_file,$(2),$(INSTALL_DIR) $(1)/`dirname $(install_file)`; $(CP) $(PKG_INSTALL_DIR)/$(install_file) $(1)/`dirname $(install_file)`;)
endef
define Build/Prepare define Build/Prepare
$(call Build/Prepare/Default,) $(call Build/Prepare/Default,)
endef endef