[PATCH v3 01/11] binman: elf: Check for ELF_TOOLS availability and remove extra semicolon

Simon Glass sjg at chromium.org
Wed Aug 2 20:08:01 CEST 2023

From: Lukas Funke <lukas.funke at weidmueller.com>

Check if elf tools are available when running DecodeElf(). Also
remove superfuous semicolon at line ending.

Signed-off-by: Lukas Funke <lukas.funke at weidmueller.com>
Reviewed-by: Simon Glass <sjg at chromium.org>


Changes in v3:
- Improved test coverage regarding missing libelf
- Align error message

 tools/binman/elf.py      | 14 +++++++-------
 tools/binman/elf_test.py | 11 +++++++++++
 2 files changed, 18 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!

More information about the U-Boot mailing list