aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-10-20 19:13:53 +0000
committerJohn Crispin <blogic@openwrt.org>2007-10-20 19:13:53 +0000
commit5e6504c49fa6048e6deda8970b1f330c7b894e74 (patch)
tree4a7b78842d14607c5d88695d8744e155d20b4d8d /include
parentc7a904d8e3c531dcd39cc7cf353093659e079487 (diff)
downloadupstream-5e6504c49fa6048e6deda8970b1f330c7b894e74.tar.gz
upstream-5e6504c49fa6048e6deda8970b1f330c7b894e74.tar.bz2
upstream-5e6504c49fa6048e6deda8970b1f330c7b894e74.zip
refreshed madwifi patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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