From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/5] pbl: let pbl-console depend on !CONSOLE_NONE
Date: Tue, 10 Mar 2015 20:59:04 +0100 [thread overview]
Message-ID: <1426017548-30324-1-git-send-email-l.stach@pengutronix.de> (raw)
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
next reply other threads:[~2015-03-10 19:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 19:59 Lucas Stach [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426017548-30324-1-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox