Add mac80211-hswim driver
authorFlorian Fainelli <florian@openwrt.org>
Sun, 9 Nov 2008 15:38:03 +0000 (15:38 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 9 Nov 2008 15:38:03 +0000 (15:38 +0000)
SVN-Revision: 13146

package/mac80211/Makefile

index 934955e512006f8113ebcdaaf6bb2caf6aedb553..87651e7bfee805fe875c0e0c21866b2febebe6f1 100644 (file)
@@ -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))