summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-04-11 16:32:26 -0700
committerJon Loeliger <jdl@jdl.com>2012-04-14 09:03:51 -0500
commit3cbf82987425f0bfcdd898a24db9647b35ee7351 (patch)
treea33d99a69fef6ca40d81ebfe7d70f042d94de16a
parent37b167f68afa21fbecb3077839f9c037a1459701 (diff)
downloaddtc-3cbf82987425f0bfcdd898a24db9647b35ee7351.tar.gz
dtc: Remove spurious output on stderr
Outputing to stderr is best avoided unless there is an error or warning to display. At present dtc always displays the name of the file it is compiling and the input/output formats. For example: DTC: dts->dts on file "-" This can cause problems in some build systems. For example, U-Boot shows build errors for any boards which use dtc at present. It is typically the only message output during such a build. The C compiler does not output anything in general. The current dtc behaviour makes it difficult to provide a silent build in the normal case where nothing went wrong. Remove the message entirely. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--dtc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dtc.c b/dtc.c
index 83aef32..bee5085 100644
--- a/dtc.c
+++ b/dtc.c
@@ -193,9 +193,6 @@ int main(int argc, char *argv[])
if (minsize)
fprintf(stderr, "DTC: Use of \"-S\" is deprecated; it will be removed soon, use \"-p\" instead\n");
- fprintf(stderr, "DTC: %s->%s on file \"%s\"\n",
- inform, outform, arg);
-
if (depname) {
depfile = fopen(depname, "w");
if (!depfile)