[OpenWrt-Devel] [PATCH v2 2/4] kernel: add ath3k module package
Pushpal Sidhu
psidhu at gateworks.com
Mon Oct 12 18:08:00 EDT 2015
Adds a package for the ath3k kernel module, present in 3.18/4.0/4.1 kernels
Signed-off-by: Pushpal Sidhu <psidhu at gateworks.com>
---
Changes in v2:
* ath3k now depends on ar3k-firmware
package/kernel/linux/modules/other.mk | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index d438fbe..9ff291d 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -78,6 +78,25 @@ endef
$(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)
--
2.6.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list