[PATCH v3 15/49] binman: Allow external binaries to be missing

Simon Glass sjg at chromium.org
Sun Jul 19 22:49:18 CEST 2020


Sometimes it is useful to build an image even though external binaries are
not present. This allows the build system to continue to function without
these files, albeit not producing valid images.

U-Boot does with with ATF (ARM Trusted Firmware) today.

Add a new flag to binman to request this behaviour.

Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v3:
- Move the SetAllowMissing() function into this patch
- Keep the _allow_missing property to sections only

 tools/binman/README.entries    |  3 +++
 tools/binman/cmdline.py        |  2 ++
 tools/binman/control.py        |  7 +++++--
 tools/binman/entry.py          |  9 +++++++++
 tools/binman/etype/blob_ext.py | 13 ++++++++++---
 tools/binman/etype/section.py  | 24 ++++++++++++++++++++++++
 tools/binman/ftest.py          |  8 +++++++-
 tools/patman/tools.py          |  8 ++++++--
 8 files changed, 66 insertions(+), 8 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list