[U-Boot] [PATCH 02/38] binman: Allow selection of logging verbosity
Simon Glass
sjg at chromium.org
Mon Aug 26 15:59:07 UTC 2019
Support a new BINMAN_VERBOSE option to the build, to allow passing the
-v flag to binman.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Makefile | 3 ++-
tools/binman/README | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4413605175..60c173cab0 100644
--- a/Makefile
+++ b/Makefile
@@ -1191,7 +1191,8 @@ u-boot.ldr: u-boot
quiet_cmd_binman = BINMAN $@
cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
--toolpath $(objtree)/tools \
- build -u -d u-boot.dtb -O . -m \
+ $(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \
+ build -u -d u-boot.dtb -O . -m \
-I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
$(BINMAN_$(@F))
diff --git a/tools/binman/README b/tools/binman/README
index fc0eeaa39e..033b78709c 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -934,6 +934,12 @@ BINMAN_DEBUG=1 to your build:
make sandbox_defconfig
make BINMAN_DEBUG=1
+To enable verbose logging from binman, base BINMAN_VERBOSE to your build, which
+adds a -v<level> option to the call to binman:
+
+ make sandbox_defconfig
+ make BINMAN_VERBOSE=5
+
History / Credits
-----------------
--
2.23.0.187.g17f5b7556c-goog
More information about the U-Boot
mailing list