From 1aca60aee10ca40ca57f2cd175e191dd63c53460 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 5 Dec 2022 18:46:57 -0500 Subject: Makefile: With BINMAN_ALLOW_MISSING=1 don't error on missing 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 Reported-by: Peter Robinson Signed-off-by: Tom Rini --- One other possible way to resolve this would be another BINMAN_something flag to pass to make to in turn pass --ignore-missing as well to binman as the use case here is platforms such as allwinner than require BL31 but have other optional firmware (SCP). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de57463..03de1da 100644 --- 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)) \ -- cgit v1.1