From acd1b534a5924e1fa2b8c941d1931d78ca327e18 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 3 Feb 2017 08:29:39 +0000 Subject: 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 ": ". This helps to direct the developer to where to look when multiple files are being compiled in parallel. Signed-off-by: Ian Campbell Signed-off-by: David Gibson --- dtc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dtc.h') 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 */ -- cgit v1.1