From 5e6504c49fa6048e6deda8970b1f330c7b894e74 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 20 Oct 2007 19:13:53 +0000 Subject: refreshed madwifi patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/package.mk') 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 -- cgit v1.2.3