summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 08:11:11 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 13:51:00 +0800
commit1f338e00fa81e72380c788163fc3c63939bf5eea (patch)
tree1cf1d4d40dc3c97b27ca030be319a863aab34410 /Makefile
parent8fce3f29e4ad4d0cf2084ef63d46aa391ebbc1d7 (diff)
binman: Allow selection of logging verbosity
Support a new BINMAN_VERBOSE option to the build, to allow passing the -v flag to binman. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ea602bdf0..b68cbaf437 100644
--- a/Makefile
+++ b/Makefile
@@ -1214,7 +1214,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))