aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-05 18:46:57 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 18:46:57 -0500
commit1aca60aee10ca40ca57f2cd175e191dd63c53460 (patch)
tree14d4f55dc26a48baeae923a37b3678df9a4ddc6f
parent1c470f32f74248ff4aa145bf033fb6524dc7fc2e (diff)
downloadu-boot-CI/test-work-missing.zip
u-boot-CI/test-work-missing.tar.gz
u-boot-CI/test-work-missing.tar.bz2
Makefile: With BINMAN_ALLOW_MISSING=1 don't error on missingCI/test-work-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 <sjg@chromium.org> Reported-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> --- 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).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)) \