From: Lech Perczak Date: Sun, 24 Apr 2022 23:51:54 +0000 (+0200) Subject: kernel: add kmod-btsdio package X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb7547684538e5501c4b91ed62e5f66832e4d9bc;p=openwrt%2Fstaging%2Fnbd.git kernel: add kmod-btsdio package Add package supporting Bluetooth HCI interfaces connected over SDIO. Signed-off-by: Lech Perczak [pepe2k@gmail.com: dropped rfkill dependency, other minor text fixes] Signed-off-by: Piotr Dymacz --- 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