aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-10-20 19:13:53 +0000
committerJohn Crispin <john@openwrt.org>2007-10-20 19:13:53 +0000
commit9f73ab51f3d95cfc04f5a507788c9301d9ddb471 (patch)
tree7275422e219035a551380951bb7c6d6afe66ceff /include/package.mk
parent6700c1d745e04f3cd5c59ba2fe3add817a547dcb (diff)
downloadupstream-9f73ab51f3d95cfc04f5a507788c9301d9ddb471.tar.gz
upstream-9f73ab51f3d95cfc04f5a507788c9301d9ddb471.tar.bz2
upstream-9f73ab51f3d95cfc04f5a507788c9301d9ddb471.zip
refreshed madwifi patches
SVN-Revision: 9380
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index a9819642dd..7ae0c6a256 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -123,7 +123,11 @@ define libtool_fixup_libdir
endef
define pkg_install_files
- $(foreach install_file,$(3),$(INSTALL_DIR) $(2)/`dirname $(install_file)`; $(CP) $(1)/$(install_file) $(2)/`dirname $(install_file)`;)
+ $(foreach install_file,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_file)`; $(INSTALL_DATA) $(2)/$(install_file) $(3)/`dirname $(install_file)`;)
+endef
+
+define pkg_install_bin
+ $(foreach install_apps,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_file)`; $(INSTALL_BIN) $(2)/$(install_file) $(3)/`dirname $(install_file)`;)
endef
define Build/Prepare