[source] kernel: bluetooth: add marvell sdio bluetooth module

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 16 16:01:47 PDT 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/a5922f6c46dac91631714f3df491966bfe245b55

commit a5922f6c46dac91631714f3df491966bfe245b55
Author: Henryk Heisig <hyniu at o2.pl>
AuthorDate: Fri Jul 7 09:43:10 2017 +0200

    kernel: bluetooth: add marvell sdio bluetooth module
    
    This commit add support for Marvell bluetooth with SDIO interface.
    
    Signed-off-by: Henryk Heisig <hyniu at o2.pl>
    [Fix KCONFIG and FILES option]
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/other.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index e4b2064..1909888 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -114,6 +114,27 @@ endef
 $(eval $(call KernelPackage,bluetooth_6lowpan))
 
 
+define KernelPackage/btmrvl
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Marvell Bluetooth Kernel Module support
+  DEPENDS:=+kmod-bluetooth +mwifiex-sdio-firmware
+  KCONFIG:= \
+	CONFIG_BT_MRVL \
+	CONFIG_BT_MRVL_SDIO
+  $(call AddDepends/bluetooth)
+  FILES:= \
+	$(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
+	$(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
+  AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
+endef
+
+define KernelPackage/btmrvl/description
+ Kernel support for Marvell SDIO Bluetooth Module
+endef
+
+$(eval $(call KernelPackage,btmrvl))
+
+
 define KernelPackage/dma-buf
   SUBMENU:=$(OTHER_MENU)
   TITLE:=DMA shared buffer support



More information about the lede-commits mailing list