aboutsummaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorIan Campbell <ijc@hellion.org.uk>2017-02-03 08:29:39 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-02-23 20:11:20 +1100
commitacd1b534a5924e1fa2b8c941d1931d78ca327e18 (patch)
treeff9ae552fd94ae027a5af7c5316039aad7cc78a6 /dtc.h
parent120775eb1cf39f8dcecd695c3ff1cfef8aeb669d (diff)
downloaddtc-acd1b534a5924e1fa2b8c941d1931d78ca327e18.zip
dtc-acd1b534a5924e1fa2b8c941d1931d78ca327e18.tar.gz
dtc-acd1b534a5924e1fa2b8c941d1931d78ca327e18.tar.bz2
Print output filename as part of warning messages
For example: src/arm/at91-ariag25.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name If output is to stdout then the prefix is "<stdout>: ". This helps to direct the developer to where to look when multiple files are being compiled in parallel. Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
-rw-r--r--dtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dtc.h b/dtc.h
index c6f125c..1ac2a1e 100644
--- a/dtc.h
+++ b/dtc.h
@@ -246,6 +246,7 @@ struct dt_info {
struct reserve_info *reservelist;
uint32_t boot_cpuid_phys;
struct node *dt; /* the device tree */
+ const char *outname; /* filename being written to, "-" for stdout */
};
/* DTS version flags definitions */