From f8e7ecfb5613b6e3f1761d9c60aa5d574214ca7e Mon Sep 17 00:00:00 2001 From: Krzysztof Chruscinski Date: Fri, 4 Jun 2021 12:49:05 +0200 Subject: [PATCH] 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 --- subsys/shell/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/shell/Kconfig b/subsys/shell/Kconfig index 0d0bb3e23a8..a05f7fe1e97 100644 --- a/subsys/shell/Kconfig +++ b/subsys/shell/Kconfig @@ -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.