[PATCH v2 0/5] Makefile: Deal with missing blobs consistently

Simon Glass sjg at chromium.org
Tue Oct 11 16:15:36 CEST 2022


Missing blobs should cause the build (with make) to fail, but at present
success is returned. This is because binman currently produces an exit
code of 0 in this case.

Of course this is not correct, since the images cannot actually be used.

This series fixes that and adjusts buildman to deal sensibly with the
situation.

Changes in v2:
- Fix missing usage of the msg variable
- Simplify code to remove the 'else'

Simon Glass (5):
  buildman: Handle the MAINTAINERS 'N' tag
  Makefile: Correct a missing FORCE on the binman rule
  doc: Correct the path to the Makefile documentation
  binman: Use an exit code when blobs are missing
  buildman: Detect binman reporting missing blobs

 Makefile                        |  2 +-
 scripts/Kbuild.include          |  2 +-
 tools/binman/binman.rst         |  4 ++++
 tools/binman/cmdline.py         |  3 +++
 tools/binman/control.py         |  6 +++++-
 tools/buildman/boards.py        | 11 +++++++++++
 tools/buildman/builderthread.py |  6 +++++-
 7 files changed, 30 insertions(+), 4 deletions(-)

-- 
2.38.0.rc1.362.ged0d419d3c-goog



More information about the U-Boot mailing list