mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/5] pbl: let pbl-console depend on !CONSOLE_NONE
@ 2015-03-10 19:59 Lucas Stach
  2015-03-10 19:59 ` [PATCH 2/5] ARM: versatile: provide clk_set_rate stub Lucas Stach
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lucas Stach @ 2015-03-10 19:59 UTC (permalink / raw)
  To: barebox

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>
---
 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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-11  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-10 19:59 [PATCH 1/5] pbl: let pbl-console depend on !CONSOLE_NONE Lucas Stach
2015-03-10 19:59 ` [PATCH 2/5] ARM: versatile: provide clk_set_rate stub Lucas Stach
2015-03-10 19:59 ` [PATCH 3/5] ARM: zynq: zedboard: don't select serial Lucas Stach
2015-03-10 19:59 ` [PATCH 4/5] ARM: radxa-rock: select options for regulator Lucas Stach
2015-03-10 19:59 ` [PATCH 5/5] ARM: highbank: fix Thumb build Lucas Stach
2015-03-11  8:38   ` Sascha Hauer
2015-03-11  9:54     ` Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox