From a3629e838c9030465a6d563620b8640fcf7f619c Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 11 Jan 2017 08:05:20 -0600 Subject: [PATCH] kernel: have boot banner depend on console existing For some of our samples/test we disable all console support, yet enable BOOT_BANNER in tests/include/test.config, this can generate warnings like: warning: (BOOT_BANNER && BLUETOOTH_DEBUG_LOG && BLUETOOTH_DEBUG_MONITOR) selects PRINTK which has unmet direct dependencies (CONSOLE_HAS_DRIVER) So having BOOT_BANNER depend on CONSOLE_HAS_DRIVER cleans things up. Change-Id: Ia6a6348fc08b0808ea6eaedb8c8833507f82c702 Signed-off-by: Kumar Gala --- kernel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/Kconfig b/kernel/Kconfig index d987f335d43..01e38ce2f0a 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -187,6 +187,7 @@ config BOOT_BANNER bool prompt "Boot banner" default n + depends on CONSOLE_HAS_DRIVER select PRINTK select EARLY_CONSOLE help