summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/other.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-23 12:32:36 +0000
committerJohn Crispin <john@openwrt.org>2015-01-23 12:32:36 +0000
commitef336da6ed2e2825cd9cddc32b9e89c7fa6745b4 (patch)
treea33bd4085890424efc75492c8008ebd276fbf552 /package/kernel/linux/modules/other.mk
parent74b3597d0788da02228cca6d2712507932e0329d (diff)
downloadmtk-20170518-ef336da6ed2e2825cd9cddc32b9e89c7fa6745b4.zip
mtk-20170518-ef336da6ed2e2825cd9cddc32b9e89c7fa6745b4.tar.gz
mtk-20170518-ef336da6ed2e2825cd9cddc32b9e89c7fa6745b4.tar.bz2
modules: add 6LoWPAN over Bluetooth Low Energy
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN. Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44084
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r--package/kernel/linux/modules/other.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index eed258d..70acf54 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -70,6 +70,26 @@ endef
$(eval $(call KernelPackage,bluetooth))
+define KernelPackage/bluetooth_6lowpan
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Bluetooth 6LoWPAN support
+ DEPENDS:=+kmod-bluetooth @!(LINUX_3_3||LINUX_3_8||LINUX_3_10||LINUX_3_13||LINUX_3_14)
+ KCONFIG:= \
+ CONFIG_6LOWPAN=m \
+ CONFIG_BT_6LOWPAN=m
+ FILES:= \
+ $(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko \
+ $(LINUX_DIR)/net/6lowpan/6lowpan.ko
+ AUTOLOAD:=$(call AutoProbe,bluetooth)
+endef
+
+define KernelPackage/bluetooth_6lowpan/description
+ Kernel support for 6LoWPAN over Bluetooth Low Energy devices
+endef
+
+$(eval $(call KernelPackage,bluetooth_6lowpan))
+
+
define KernelPackage/bluetooth-hci-h4p
SUBMENU:=$(OTHER_MENU)
TITLE:=HCI driver with H4 Nokia extensions