summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-12-16 19:57:11 +0000
committerNicolas Thill <nico@openwrt.org>2006-12-16 19:57:11 +0000
commit5df7bab3f0dd9243d7e391d53012bc5071c0c952 (patch)
tree7a84e54d0495b74e9a95546dd86c177c494fdb0c
parent735f1d1be136c14f641a904b3f8566799698fcbe (diff)
downloadmtk-20170518-5df7bab3f0dd9243d7e391d53012bc5071c0c952.zip
mtk-20170518-5df7bab3f0dd9243d7e391d53012bc5071c0c952.tar.gz
mtk-20170518-5df7bab3f0dd9243d7e391d53012bc5071c0c952.tar.bz2
use INSTALL_DIR variable
SVN-Revision: 5809
-rw-r--r--package/madwifi/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 7657f8d..b0e5be8 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -140,10 +140,9 @@ define Build/UninstallDev
endef
define KernelPackage/madwifi/install
- mkdir -p $(1)/etc/init.d
- mkdir -p $(1)/lib/modules/$(LINUX_VERSION)
- mkdir -p $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/madwifi.init $(1)/etc/init.d/madwifi
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(1)/usr/sbin/
endef