binman: Check missing bintools of Section subclasses
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Mon, 7 Feb 2022 22:08:06 +0000 (01:08 +0300)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:30:13 +0000 (12:30 -0700)
commit4897d331f37e1fd1c3a4ca599ea8093c4c977a09
tree9a6de429b44edada41d0d81de5adefba23bd05ea
parented293c322188d9d41bf6f26e01ad6343974150d1
binman: Check missing bintools of Section subclasses

Binman can check for missing binary tools and prints warnings if
anything required for an image is missing. The implementation of this
for the Section entry only checks the subentries, presumably because
Section does not use any binary tools itself. However, this means the
check is also skipped for subclasses of Section which might need binary
tools.

Make sure missing binary tools are checked for subclasses of the Section
entry type as well, by calling the parent class' implementation in
the relevant Section method.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/section.py