[U-Boot] [PATCH 13/34] binman: Use the Makefile to build ELF test files

sjg at google.com sjg at google.com
Fri Sep 27 00:39:04 UTC 2019


At present the ELF test files are checked into the U-Boot tree. This is
covenient since the files never change and can be used on non-x86
platforms. However it is not good practice to check in binaries and in
this case it does not seem essential.

Update the binman test-file Makefile to support having source in a
different directory. Adjust binman to run it to build bss_data, as a
start. We can add other files as needed.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/elf_test.py   |  23 +++++++++++++++++++++++
 tools/binman/ftest.py      |  24 ++++++++++++++++++------
 tools/binman/test/Makefile |   3 ++-
 tools/binman/test/bss_data | Bin 5020 -> 0 bytes
 4 files changed, 43 insertions(+), 7 deletions(-)
 delete mode 100755 tools/binman/test/bss_data

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list