summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-03-10 20:59:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-11 09:36:25 +0100
commit444e04ff9023cb85e1acd5cef3a9b7c366b2eb25 (patch)
tree5d0e27d22183f90af7d859a8e6c82b6a1f4e5b4b /common/Kconfig
parenta1a5a212985053fac141975f6f6cd8e30051b401 (diff)
downloadbarebox-444e04ff9023cb85e1acd5cef3a9b7c366b2eb25.tar.gz
barebox-444e04ff9023cb85e1acd5cef3a9b7c366b2eb25.tar.xz
pbl: let pbl-console depend on !CONSOLE_NONE
It doesn't make much sense to have a console in the pbl but not in the main barebox binary. Fixes: pbl/console.c:34:5: error: redefinition of 'ctrlc' include/stdio.h:60:19: note: previous definition of 'ctrlc' was here pbl/console.c:39:6: error: redefinition of 'console_putc' include/stdio.h:49:20: note: previous definition of 'console_putc' was here Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 8a8912a146..258a9757c9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -901,6 +901,7 @@ config DEBUG_INITCALLS
config PBL_CONSOLE
depends on DEBUG_LL
+ depends on !CONSOLE_NONE
bool "Enable console support in PBL"
help
This enables printf/pr_* support in the PBL to get more