Bluetooth: Update Bluetooth legacy logging Kconfig
Update the Bluetooth specific Kconfig legacy log template to use the new log inheriting template. Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
This commit is contained in:
parent
ff5b8f003e
commit
e4be91b0c4
1 changed files with 3 additions and 11 deletions
|
@ -14,17 +14,9 @@
|
|||
# the new kconfig is forced to max verbosity.
|
||||
# Example: "BT_DEBUG_HCI_CORE"
|
||||
|
||||
parent-module = BT
|
||||
|
||||
choice "$(module)_LOG_LEVEL_CHOICE"
|
||||
default $(module)_LOG_LEVEL_INHERIT if y
|
||||
|
||||
config $(module)_LOG_LEVEL_INHERIT
|
||||
bool "Inherit $(parent-module)_LOG_LEVEL"
|
||||
endchoice
|
||||
|
||||
config $(module)_LOG_LEVEL
|
||||
default 4 if $(legacy-debug-sym)
|
||||
default $(parent-module)_LOG_LEVEL if $(module)_LOG_LEVEL_INHERIT
|
||||
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
module := $(module)
|
||||
parent-module := BT
|
||||
source "subsys/logging/Kconfig.template.log_config_inherit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue