Makefile: With BINMAN_ALLOW_MISSING=1 don't error on missing
authorTom Rini <trini@konsulko.com>
Tue, 6 Dec 2022 02:03:36 +0000 (21:03 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 19 Dec 2022 01:50:40 +0000 (20:50 -0500)
When the user builds with BINMAN_ALLOW_MISSING=1 they're explicitly
setting the flag to allow for additional binaries to be missing and so
have acknowledged the output might not work. In this case we want to
default to not passing a non-zero exit code.

Cc: Simon Glass <sjg@chromium.org>
Reported-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Makefile

index de57463..03de1da 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1334,7 +1334,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
                 --toolpath $(objtree)/tools \
                $(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \
                build -u -d u-boot.dtb -O . -m \
-               $(if $(BINMAN_ALLOW_MISSING),--allow-missing --fake-ext-blobs) \
+               $(if $(BINMAN_ALLOW_MISSING),--allow-missing --ignore-missing) \
                -I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
                -I arch/$(ARCH)/dts -a of-list=$(CONFIG_OF_LIST) \
                $(foreach f,$(BINMAN_INDIRS),-I $(f)) \