log: Don't enable LOG_CMDS if SHELL is disabled
This was preventing compilation due to undefined symbols like 'shell_fprintf' etc. Signed-off-by: Tavish Naruka <tavishnaruka@gmail.com>
This commit is contained in:
parent
c34d919139
commit
68a14eda15
1 changed files with 1 additions and 0 deletions
|
@ -285,6 +285,7 @@ config LOG_DOMAIN_ID
|
|||
|
||||
config LOG_CMDS
|
||||
bool "Enable shell commands"
|
||||
depends on SHELL
|
||||
default y if SHELL
|
||||
|
||||
config LOG_BACKEND_UART
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue