diff options
author | Heiko Thiery <heiko.thiery@gmail.com> | 2022-01-06 11:49:41 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-07 12:10:55 -0500 |
commit | a89c8f2111bc647b697b776a40227673cfc713e3 (patch) | |
tree | e5169f24b432600613ff2dc1d4a78d5955627cb6 /Makefile | |
parent | a14af7216a220fe8f1b2a5308ed632abe6f9f97f (diff) | |
download | u-boot-a89c8f2111bc647b697b776a40227673cfc713e3.tar.gz |
binman: add support for creating dummy files for external blobs
While converting to binman for an imx8mq board, it has been found that
building in the u-boot CI fails. This is because an imx8mq requires an
external binary (signed_hdmi_imx8m.bin). If this file cannot be found
mkimage fails.
To be able to build this board in the u-boot CI a binman option
(--fake-ext-blobs) is introduced that can be switched on via the u-boot
makefile option BINMAN_FAKE_EXT_BLOBS. With that the needed dummy files are
created.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1315,6 +1315,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \ -a tpl-bss-pad=$(if $(CONFIG_TPL_SEPARATE_BSS),,1) \ -a spl-dtb=$(CONFIG_SPL_OF_REAL) \ -a tpl-dtb=$(CONFIG_TPL_OF_REAL) \ + $(if $(BINMAN_FAKE_EXT_BLOBS),--fake-ext-blobs) \ $(BINMAN_$(@F)) OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex |