summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-09 15:38:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-09 15:38:03 +0000
commitfaa7abe013622c2e3fb281c39074fa26deac5246 (patch)
tree66abf264d0f4973e6e9989fcc57e3a3e00dfd447 /package
parentb3e5f064501df2df3d5e9706dff4ee2adbdec7af (diff)
downloadmtk-20170518-faa7abe013622c2e3fb281c39074fa26deac5246.zip
mtk-20170518-faa7abe013622c2e3fb281c39074fa26deac5246.tar.gz
mtk-20170518-faa7abe013622c2e3fb281c39074fa26deac5246.tar.bz2
Add mac80211-hswim driver
SVN-Revision: 13146
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 934955e..87651e7 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -169,6 +169,14 @@ define KernelPackage/ath5k
AUTOLOAD:=$(call AutoLoad,27,ath5k)
endef
+define KernelPackage/mac80211-hwsim
+ SUBMENU:=Wireless Drivers
+ TITLE:=mac80211 HW simulation device
+ DEPENDS+= +kmod-mac80211
+ FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,60,mac80211_hwsim)
+endef
+
BUILDFLAGS:= \
-I$(PKG_BUILD_DIR)/include \
$(foreach opt,$(CONFOPTS),-DCONFIG_$(opt)) \
@@ -255,3 +263,4 @@ $(eval $(call KernelPackage,rt61-pci))
$(eval $(call KernelPackage,rt73-usb))
$(eval $(call KernelPackage,rt2800-pci))
$(eval $(call KernelPackage,zd1211rw))
+$(eval $(call KernelPackage,mac80211-hwsim))