summaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-21 19:18:13 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-21 19:18:13 +0000
commit09c9f2df57c309c85f17dab95c45e34cee7cfbf2 (patch)
tree6ba414d2d74a83882faf67a5a46853b9c5ed64f3 /package/mac80211/Makefile
parentf74b974c3236f25cd9f1a060934c8cd48d55cd8a (diff)
mac80211: add mwl8k driver
This closes #7209 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21077 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 3d66f23be..d654ffa39 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -532,6 +532,20 @@ define KernelPackage/net-ipw2200/description
- ipw2200
endef
+
+define KernelPackage/mwl8k
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
+ URL:=http://wireless.kernel.org/en/users/Drivers/mwl8k
+ DEPENDS+= @PCI_SUPPORT +kmod-mac80211
+ FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mwl8k.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,27,mwl8k)
+endef
+
+define KernelPackage/mwl8k/description
+ Kernel modules for Marvell TOPDOG 802.11 Wireless cards
+endef
+
#Broadcom firmware
ifneq ($(CONFIG_B43_EXPERIMENTAL),)
PKG_B43_FWV4_NAME:=broadcom-wl
@@ -853,7 +867,7 @@ MAKE_OPTS:= \
CONFIG_LIB80211_CRYPT_TKIP= \
CONFIG_IWLWIFI= \
CONFIG_IWLAGN= \
- CONFIG_MWL8K= \
+ CONFIG_MWL8K=$(if $(CONFIG_PACKAGE_kmod-mwl8k),m) \
CONFIG_ATMEL= \
CONFIG_PCMCIA_ATMEL= \
CONFIG_ADM8211= \
@@ -1052,3 +1066,4 @@ $(eval $(call KernelPackage,b43legacy))
$(eval $(call KernelPackage,net-libipw))
$(eval $(call KernelPackage,net-ipw2100))
$(eval $(call KernelPackage,net-ipw2200))
+$(eval $(call KernelPackage,mwl8k))