changed pkg_install_files so one can specify the folder to install from

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9192 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2007-10-08 19:49:11 +00:00
parent 0f0020cac0
commit 0c85c497e4

View File

@@ -122,7 +122,7 @@ define libtool_fixup_libdir
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)`;)
$(foreach install_file,$(3),$(INSTALL_DIR) $(2)/`dirname $(install_file)`; $(CP) $(1)/$(install_file) $(2)/`dirname $(install_file)`;)
endef
define Build/Prepare