X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/262e7ef48dc0b08c88cf37b19b618e6507830c0b..96a7a82e57cfdd297a059f0b1658908b9cce2e7d:/package/madwifi/Makefile diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index b0e5be871..f59daddc1 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -41,7 +41,7 @@ ifeq ($(ARCH),powerpc) endif BUS:=PCI -ifneq ($(CONFIG_LINUX_2_6_AR531X),) +ifneq ($(CONFIG_LINUX_2_6_ATHEROS),) BUS:=AHB HAL_TARGET:=ap51 endif @@ -140,8 +140,8 @@ define Build/UninstallDev endef define KernelPackage/madwifi/install - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/madwifi.init $(1)/etc/init.d/madwifi + $(INSTALL_DIR) $(1)/lib/wifi + $(INSTALL_DATA) ./files/lib/wifi/madwifi.sh $(1)/lib/wifi $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(1)/usr/sbin/ endef