summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-20 19:13:53 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-20 19:13:53 +0000
commit32d35e5428e44e0b19e25a160b99c9985df0755e (patch)
tree4a7b78842d14607c5d88695d8744e155d20b4d8d /include
parent7731a3fef4ef0b05aea0c3d5b00ca883a5e7235a (diff)
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