[PATCH] Makefile: add -W for BINMAN_ALLOW_MISSING

Nikita Shubin nikita.shubin at maquefel.me
Fri Dec 16 10:27:45 CET 2022


From: Nikita Shubin <n.shubin at yadro.com>

Otherwise make will produce an error even with --allow-missing and
--fake-ext-blobs set.

Fixes: b38da15a054 ("binman: Use an exit code when blobs are missing")
Signed-off-by: Nikita Shubin <n.shubin at yadro.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index de5746399a6..3fec08e7081 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 --fake-ext-blobs -W) \
 		-I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
 		-I arch/$(ARCH)/dts -a of-list=$(CONFIG_OF_LIST) \
 		$(foreach f,$(BINMAN_INDIRS),-I $(f)) \
-- 
2.37.4



More information about the U-Boot mailing list