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 <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-01-11 08:05:20 -06:00
commit a3629e838c

View file

@ -187,6 +187,7 @@ config BOOT_BANNER
bool
prompt "Boot banner"
default n
depends on CONSOLE_HAS_DRIVER
select PRINTK
select EARLY_CONSOLE
help