[PATCH v4 00/11] buildman: Correct various issues with missing blobs

Simon Glass sjg at chromium.org
Tue Nov 8 00:28:36 CET 2022


This series attempts to tidy up the problem of missing blobs, making
U-Boot default to failing the build, but providing ways to configure this
so that buildman can still be used for build testing by people who don't
have the blobs or don't care about them.

This is based on discussion in [1] as well as some experimentation.

It also moves the buildman docs to rST and tidies up some toolchain
settings and documentation.

[1] https://patchwork.ozlabs.org/project/uboot/patch/20221010151831.3376759-2-trini@konsulko.com/

Changes in v4:
- Add a patch to update the arc toolchain
- Add new patch to update the default settings file
- Leave the arc toolchain in there

Changes in v3:
- Add new patch to convert documentation to rST
- Add new patch to drop mention of MAKEALL
- Add new patch to drop mention of old architectures
- Add tests docs and a settings-file option

Changes in v2:
- Use a separate rule for running binman

Simon Glass (9):
  Makefile: Correct the binman rule
  doc: Correct the path to the Makefile documentation
  binman: Use an exit code when blobs are missing
  buildman: Convert documentation to rST
  buildman: Drop mention of MAKEALL
  buildman: Update the arc toolchain
  buildman: Update the default settings file
  buildman: Drop mention of old architectures
  buildman: Detect binman reporting missing blobs

Tom Rini (2):
  global: Do not default to faking missing binaries for buildman
  buildman: Add --allow-missing flag to allow missing blobs

 .azure-pipelines.yml            |    2 +-
 .gitlab-ci.yml                  |    6 +-
 Makefile                        |   15 +-
 doc/build/buildman.rst          |    1 +
 doc/build/index.rst             |    1 +
 scripts/Kbuild.include          |    2 +-
 tools/binman/binman.rst         |   21 +
 tools/binman/cmdline.py         |    3 +
 tools/binman/control.py         |    7 +-
 tools/binman/ftest.py           |   20 +-
 tools/buildman/README           | 1349 -------------------------------
 tools/buildman/README.rst       |    1 +
 tools/buildman/bsettings.py     |   21 +-
 tools/buildman/builder.py       |    5 +-
 tools/buildman/builderthread.py |    8 +-
 tools/buildman/buildman.rst     | 1335 ++++++++++++++++++++++++++++++
 tools/buildman/cmdline.py       |    6 +
 tools/buildman/control.py       |   33 +-
 tools/buildman/func_test.py     |  100 ++-
 19 files changed, 1558 insertions(+), 1378 deletions(-)
 create mode 120000 doc/build/buildman.rst
 delete mode 100644 tools/buildman/README
 create mode 120000 tools/buildman/README.rst
 create mode 100644 tools/buildman/buildman.rst

-- 
2.38.1.431.g37b22c650d-goog



More information about the U-Boot mailing list