[openwrt/openwrt] kernel: add kmod-btsdio package

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 11 05:31:53 PDT 2022


pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fb7547684538e5501c4b91ed62e5f66832e4d9bc

commit fb7547684538e5501c4b91ed62e5f66832e4d9bc
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Mon Apr 25 01:51:54 2022 +0200

    kernel: add kmod-btsdio package
    
    Add package supporting Bluetooth HCI interfaces connected over SDIO.
    
    Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
    [pepe2k at gmail.com: dropped rfkill dependency, other minor text fixes]
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 package/kernel/linux/modules/other.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index f5d524e703..d47c7dcaa2 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -119,6 +119,24 @@ endef
 $(eval $(call KernelPackage,btmrvl))
 
 
+define KernelPackage/btsdio
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Bluetooth HCI SDIO driver
+  DEPENDS:=+kmod-bluetooth +kmod-mmc
+  KCONFIG:= \
+	CONFIG_BT_HCIBTSDIO
+  FILES:= \
+	$(LINUX_DIR)/drivers/bluetooth/btsdio.ko
+  AUTOLOAD:=$(call AutoProbe,btsdio)
+endef
+
+define KernelPackage/btsdio/description
+ Kernel support for Bluetooth device with SDIO interface
+endef
+
+$(eval $(call KernelPackage,btsdio))
+
+
 define KernelPackage/dma-buf
   SUBMENU:=$(OTHER_MENU)
   TITLE:=DMA shared buffer support




More information about the lede-commits mailing list