[PATCH 1/5] pbl: let pbl-console depend on !CONSOLE_NONE
Lucas Stach
l.stach at pengutronix.de
Tue Mar 10 12:59:04 PDT 2015
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 at pengutronix.de>
---
common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/Kconfig b/common/Kconfig
index cf197076dbab..74d5c4d12a39 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -886,6 +886,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
--
2.1.4
More information about the barebox
mailing list