summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/package.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index d61eb8cf7..6307a1f47 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -121,6 +121,10 @@ define libtool_fixup_libdir
$(SED) "s,^libdir='/usr/lib',libdir='$(strip $(1))/usr/lib',g"
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
$(call Build/Prepare/Default,)
endef