diff mbox series

[v4,2/9] binman: Indicate how to make binman verbose

Message ID 20210206165736.3491584-3-sjg@chromium.org
State Accepted
Commit ef1080470d303f88e991a631a84c59aafdbb6794
Delegated to: Tom Rini
Headers show
Series Various minor fixes | expand

Commit Message

Simon Glass Feb. 6, 2021, 4:57 p.m. UTC
Add notes about how to make binman produce verbose logging when building.

Add a comment on how to do this.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 Makefile            | 1 +
 tools/binman/README | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

Comments

Tom Rini March 3, 2021, 7:09 p.m. UTC | #1
On Sat, Feb 06, 2021 at 09:57:28AM -0700, Simon Glass wrote:

> Add notes about how to make binman produce verbose logging when building.
> 
> Add a comment on how to do this.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index ebbedb1fb1a..2917af20ecd 100644
--- a/Makefile
+++ b/Makefile
@@ -1330,6 +1330,7 @@  u-boot.ldr:	u-boot
 # binman
 # ---------------------------------------------------------------------------
 # Use 'make BINMAN_DEBUG=1' to enable debugging
+# Use 'make BINMAN_VERBOSE=3' to set vebosity level
 default_dt := $(if $(DEVICE_TREE),$(DEVICE_TREE),$(CONFIG_DEFAULT_DEVICE_TREE))
 quiet_cmd_binman = BINMAN  $@
 cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
diff --git a/tools/binman/README b/tools/binman/README
index a00c9026163..45f0a0c2cd3 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -637,7 +637,8 @@  Logging
 
 Binman normally operates silently unless there is an error, in which case it
 just displays the error. The -D/--debug option can be used to create a full
-backtrace when errors occur.
+backtrace when errors occur. You can use BINMAN_DEBUG=1 when building to select
+this.
 
 Internally binman logs some output while it is running. This can be displayed
 by increasing the -v/--verbosity from the default of 1:
@@ -649,6 +650,7 @@  by increasing the -v/--verbosity from the default of 1:
    4: detailed information about each operation
    5: debug (all output)
 
+You can use BINMAN_VERBOSE=5 (for example) when building to select this.
 
 Hashing Entries
 ---------------