Author: blogic
Date: 2015-10-19 12:10:20 +0200 (Mon, 19 Oct 2015)
New Revision: 47223

Modified:
   trunk/package/kernel/linux/modules/other.mk
Log:
kernel: add ath3k module package

Adds a package for the ath3k kernel module, present in 3.18/4.0/4.1 kernels

Signed-off-by: Pushpal Sidhu <[email protected]>

Modified: trunk/package/kernel/linux/modules/other.mk
===================================================================
--- trunk/package/kernel/linux/modules/other.mk 2015-10-19 10:10:14 UTC (rev 
47222)
+++ trunk/package/kernel/linux/modules/other.mk 2015-10-19 10:10:20 UTC (rev 
47223)
@@ -78,7 +78,26 @@
 
 $(eval $(call KernelPackage,bluetooth))
 
+define KernelPackage/ath3k
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=ATH3K Kernel Module support
+  DEPENDS:=+kmod-bluetooth +ar3k-firmware
+  KCONFIG:= \
+       CONFIG_BT_ATH3K \
+       CONFIG_BT_HCIUART_ATH3K
+  $(call AddDepends/bluetooth)
+  FILES:= \
+       $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
+  AUTOLOAD:=$(call AutoProbe,ath3k)
+endef
 
+define KernelPackage/ath3k/description
+ Kernel support for ATH3K Module
+endef
+
+$(eval $(call KernelPackage,ath3k))
+
+
 define KernelPackage/bluetooth_6lowpan
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Bluetooth 6LoWPAN support
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to