aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-22 08:02:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-22 08:02:59 +0000
commitd12343b632dcd4c2af73f3af14ac9eaf2b4ce8f8 (patch)
treec17b5d7b1f5a7ecd9410e38b9093a76722380230 /package/madwifi/Makefile
parent1820fb67b7390bbdfddc3cc18e0681051c84bcea (diff)
downloadupstream-d12343b632dcd4c2af73f3af14ac9eaf2b4ce8f8.tar.gz
upstream-d12343b632dcd4c2af73f3af14ac9eaf2b4ce8f8.tar.bz2
upstream-d12343b632dcd4c2af73f3af14ac9eaf2b4ce8f8.zip
nuke old madwifi init script, add new /lib/wifi handler (usable for many configurations already), fix up a target name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5889 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/Makefile')
-rw-r--r--package/madwifi/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index b0e5be8712..f59daddc1d 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