summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-04-04 17:03:17 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-13 10:17:22 +0200
commitd2dea7782991658194ffa9264a348646cea6896a (patch)
tree67e9ee02426363fabb0433de272593398b1f086b /common
parent6393f1345a1d3e70b93f30956a43669123acae11 (diff)
downloadbarebox-d2dea7782991658194ffa9264a348646cea6896a.tar.gz
barebox-d2dea7782991658194ffa9264a348646cea6896a.tar.xz
make PBL_CONSOLE depend on PBL_IMAGE
PBL_CONSOLE option is used only for building PBL. See this output: barebox$ git grep PBL_CONSOLE arch/arm/configs/tx28stk5_defconfig:CONFIG_PBL_CONSOLE=y common/Kconfig:config PBL_CONSOLE common/Makefile:pbl-$(CONFIG_PBL_CONSOLE) += memory_display.o include/printk.h: (defined(__PBL__) && defined(CONFIG_PBL_CONSOLE)) include/stdio.h: (defined(__PBL__) && defined(CONFIG_PBL_CONSOLE)) lib/Makefile:pbl-$(CONFIG_PBL_CONSOLE) += vsprintf.o pbl/Makefile:pbl-$(CONFIG_PBL_CONSOLE) += console.o PBL_CONSOLE looks confusing in PBL-less configuration so it's better to enable it only if PBL is enabled. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 258a9757c9..b68371358d 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -900,6 +900,7 @@ config DEBUG_INITCALLS
If enabled this will print initcall traces.
config PBL_CONSOLE
+ depends on PBL_IMAGE
depends on DEBUG_LL
depends on !CONSOLE_NONE
bool "Enable console support in PBL"