From: Henryk Heisig Date: Fri, 7 Jul 2017 07:43:10 +0000 (+0200) Subject: kernel: bluetooth: add marvell sdio bluetooth module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a5922f6c46dac91631714f3df491966bfe245b55;p=openwrt%2Fstaging%2Fjogo.git kernel: bluetooth: add marvell sdio bluetooth module This commit add support for Marvell bluetooth with SDIO interface. Signed-off-by: Henryk Heisig [Fix KCONFIG and FILES option] Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index e4b2064dc4..1909888e63 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