summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-10-08 19:49:11 +0000
committerJohn Crispin <john@openwrt.org>2007-10-08 19:49:11 +0000
commit5a4b6b5f4ed6ad1cf1518e6a2ea47e3ee5b65f1a (patch)
tree5b518d9aa2c5839e9ad1975d152ef1fb705d728f /include
parent215fa7eb8b055e580c30a9851fbcacdc5fef15a6 (diff)
downloadmtk-20170518-5a4b6b5f4ed6ad1cf1518e6a2ea47e3ee5b65f1a.zip
mtk-20170518-5a4b6b5f4ed6ad1cf1518e6a2ea47e3ee5b65f1a.tar.gz
mtk-20170518-5a4b6b5f4ed6ad1cf1518e6a2ea47e3ee5b65f1a.tar.bz2
changed pkg_install_files so one can specify the folder to install from
SVN-Revision: 9192
Diffstat (limited to 'include')
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 6307a1f..d90bec8 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -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