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:
Tavish Naruka 2018-11-29 20:12:06 +05:30 committed by Anas Nashif
commit 68a14eda15

View file

@ -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