Skip to content

Makefile: Deal with missing blobs consistently

Simon Glass u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v15 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Fix missing usage of the msg variable
- Simplify code to remove the 'else'

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5buildman: Handle the MAINTAINERS 'N' tagtools/buildman/boards.py+11 -01 reply
2/5Makefile: Correct a missing FORCE on the binman ruleMakefile+1 -17 replies
3/5doc: Correct the path to the Makefile documentationscripts/Kbuild.include+1 -10 replies
4/5binman: Use an exit code when blobs are missingtools/binman/binman.rst tools/binman/cmdline.py tools/binman/control.py+12 -10 replies
5/5buildman: Detect binman reporting missing blobstools/buildman/builderthread.py+5 -10 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchTom RiniPali Rohár
1/5T-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog