From: nico Date: Sat, 16 Dec 2006 19:57:11 +0000 (+0000) Subject: use INSTALL_DIR variable X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/262e7ef48dc0b08c88cf37b19b618e6507830c0b use INSTALL_DIR variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5809 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index 7657f8d2e..b0e5be871 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