diff options
author | Ian Campbell <ijc@hellion.org.uk> | 2017-02-03 08:29:39 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-02-23 20:11:20 +1100 |
commit | acd1b534a5924e1fa2b8c941d1931d78ca327e18 (patch) | |
tree | ff9ae552fd94ae027a5af7c5316039aad7cc78a6 /dtc.h | |
parent | 120775eb1cf39f8dcecd695c3ff1cfef8aeb669d (diff) | |
download | dtc-acd1b534a5924e1fa2b8c941d1931d78ca327e18.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |