fix brcm-2.4 target profiles
[openwrt.git] / package / madwifi / Makefile
index 6fa682b..dc06eff 100644 (file)
@@ -77,8 +77,8 @@ endif
 
 define KernelPackage/madwifi
   SUBMENU:=Wireless Drivers
-  DEFAULT:=y if LINUX_2_6_BRCM || LINUX_2_6_ARUBA || LINUX_2_4_AR531X || LINUX_2_6_XSCALE, m if ALL
   TITLE:=Driver for Atheros wireless chipsets
+  DEPENDS:=+wireless-tools
   DESCRIPTION:=\
        This package contains a driver for Atheros 802.11a/b/g chipsets.
   URL:=http://madwifi.org/
@@ -138,7 +138,7 @@ define KernelPackage/madwifi/install
        mkdir -p $(1)/etc/init.d
        mkdir -p $(1)/lib/modules/$(LINUX_VERSION)
        mkdir -p $(1)/usr/sbin
-       install -m0755 ./files/madwifi.init $(1)/etc/init.d/madwifi
+       $(INSTALL_BIN) ./files/madwifi.init $(1)/etc/init.d/madwifi
        $(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(1)/usr/sbin/
 endef
 
This page took 0.024765 seconds and 4 git commands to generate.