Kaynağa Gözat

use INSTALL_DIR variable

SVN-Revision: 5809
Nicolas Thill 19 yıl önce
ebeveyn
işleme
5df7bab3f0
1 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. 2 3
      package/madwifi/Makefile

+ 2 - 3
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