From 29bfbf8769bfc269440ad72a755947c1bc1f4f0f Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Thu, 26 Aug 2021 11:09:48 +0200 Subject: [PATCH] License: add Bluetooth LE support to the license guard If ALLOW_BSD_COMPONENTS is not enabled in the license setup, Bluetooth LE support will be disabled Signed-off-by: Alin Jerpelea --- Kconfig | 4 ++++ wireless/bluetooth/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/Kconfig b/Kconfig index e4cfc6b9bc..f804a964b3 100644 --- a/Kconfig +++ b/Kconfig @@ -20,6 +20,10 @@ config ALLOW_BSD_COMPONENTS NOTE: Please check that the license for each enabled component matches your project license. + NOTE: If this option is not set the following components + are not included in the setup menu: + Bluetooth LE support + config ALLOW_GPL_COMPONENTS bool "Use components that have GPL/LGPL licenses" default n diff --git a/wireless/bluetooth/Kconfig b/wireless/bluetooth/Kconfig index f5bcb7530f..75087267e6 100644 --- a/wireless/bluetooth/Kconfig +++ b/wireless/bluetooth/Kconfig @@ -42,6 +42,7 @@ menuconfig WIRELESS_BLUETOOTH bool "Bluetooth LE support" default n + depends on ALLOW_BSD_COMPONENTS select MM_IOB select SCHED_HPWORK select SCHED_LPWORK