Kconfig: Organization of Ksymbols for bluetooth.

This commit organizes the bluetooth Ksymbols in:
 - Driver symbols at drivers/bluetooth/Kconfig
 - Stack symbols at net/bluetooth/Kconfig

Change-Id: I8ebadeb8ac7f8a769d7620e4e44077a05915dc86
Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
Juan Manuel Cruz 2015-05-12 13:20:42 -05:00 committed by Anas Nashif
commit b7fcfd53e5
5 changed files with 31 additions and 28 deletions

View file

@ -105,6 +105,8 @@ config COMPILER_OPT
endmenu
source "net/Kconfig"
source "drivers/Kconfig"
config EXPERIMENTAL

View file

@ -1,3 +1,5 @@
source "drivers/bluetooth/Kconfig"
config DRV_CONSOLE
bool
default y
@ -47,5 +49,3 @@ config DRV_RANDOM
This option enables the random number generator driver.
source "drivers/random/Kconfig"
source "drivers/bluetooth/Kconfig"

View file

@ -33,23 +33,8 @@
#
# Bluetooth options
#
menu "Bluetooth Options"
config BLUETOOTH
bool
prompt "Bluetooth LE support [EXPERIMENTAL]"
default n
help
This option enables Bluetooth Low Energy support.
config BLUETOOTH_DEBUG
bool
prompt "Bluetooth LE debug support"
depends on BLUETOOTH
default n
help
This option enables Bluetooth debug going to standard
serial console.
menu "Bluetooth Stack Options"
depends on BLUETOOTH
config BLUETOOTH_DEBUG_UART
bool
@ -60,15 +45,6 @@ config BLUETOOTH_DEBUG_UART
This option enables debug support for Bluetooth UART
driver
config BLUETOOTH_DEBUG_HCI_CORE
bool
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG
default n
help
This option enables debug support for Bluetooth HCI
core
config BLUETOOTH_UART
bool
prompt "Bluetooth UART driver"

1
net/Kconfig Normal file
View file

@ -0,0 +1 @@
source "net/bluetooth/Kconfig"

24
net/bluetooth/Kconfig Normal file
View file

@ -0,0 +1,24 @@
config BLUETOOTH
bool
prompt "Bluetooth LE support [EXPERIMENTAL]"
default n
help
This option enables Bluetooth Low Energy support.
config BLUETOOTH_DEBUG
bool
prompt "Bluetooth LE debug support"
depends on BLUETOOTH
default n
help
This option enables Bluetooth debug going to standard
serial console.
config BLUETOOTH_DEBUG_HCI_CORE
bool
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG
default n
help
This option enables debug support for Bluetooth HCI
core