aboutsummaryrefslogtreecommitdiffstats
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
commitbfc971d25568d5acac4b30f7bf640f778a420d73 (patch)
tree6992b06e4b5c8941badee07a5b3139c70a721d6f
parentfddc8b895a87e9e29e63947642c35b5a977cfbc6 (diff)
downloadupstream-bfc971d25568d5acac4b30f7bf640f778a420d73.tar.gz
upstream-bfc971d25568d5acac4b30f7bf640f778a420d73.tar.bz2
upstream-bfc971d25568d5acac4b30f7bf640f778a420d73.zip
use INSTALL_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5809 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/madwifi/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 7657f8d2ee..b0e5be8712 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