shell: Add missing dependency to shell log backend

Shell log backend depends on logging being enabled. Lack of this
dependency leads to compilation failure when logging is disabled.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2021-06-04 12:49:05 +02:00 committed by Kumar Gala
commit f8e7ecfb56

View file

@ -197,7 +197,7 @@ config SHELL_CMDS_SELECT
config SHELL_LOG_BACKEND
bool "Enable shell log backend"
depends on !LOG_MINIMAL
depends on LOG && !LOG_MINIMAL
default y if LOG
help
When enabled, backend will use the shell for logging.