mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
mkimage: Add a quiet mode
Some build systems want to be quiet unless there is a problem. At present mkimage displays quite a bit of information when generating a FIT file. Add a '-q' flag to silence this. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
@@ -51,7 +51,8 @@ int imagetool_verify_print_header(
|
||||
* successful
|
||||
*/
|
||||
if ((*curr)->print_header) {
|
||||
(*curr)->print_header(ptr);
|
||||
if (!params->quiet)
|
||||
(*curr)->print_header(ptr);
|
||||
} else {
|
||||
fprintf(stderr,
|
||||
"%s: print_header undefined for %s\n",
|
||||
|
Reference in New Issue
Block a user