buildman: Keep more outputs with the --keep-outputs flag
PATCH 1/1 buildman: Keep more outputs with the --keep-outputs flag
When told to keep outputs, be much more liberal in what files we keep. In addition to adding 'MLO', keep anything that matches u-boot-spl.* (so that we keep the map file as well) and anything we generate about 'u-boot itself. A large number of bootable formats now match this and thus it's easier to build many targets and then boot them afterwards using buildman.
--- tools/buildman/builderthread.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
tools/buildman/builderthread.py +2 -3
@@ -333,9 +333,8 @@ class BuilderThread(threading.Thread): # Now write the actual build output if keep_outputs: - patterns = ['u-boot', '*.bin', 'u-boot.dtb', '*.map', '*.img', - 'include/autoconf.mk', 'spl/u-boot-spl', - 'spl/u-boot-spl.bin'] + patterns = ['u-boot*', '*.bin', '*.map', '*.img', 'MLO', + 'include/autoconf.mk', 'spl/u-boot-spl*' ] for pattern in patterns: file_list = glob.glob(os.path.join(result.out_dir, pattern)) for fname in file_list:
Signature · 1 line
1.7.9.5
PATCH 1/1 buildman: Keep more outputs with the --keep-outputs flag
Quoted 7 lines · Tom Rini
When told to keep outputs, be much more liberal in what files we keep. In addition to adding 'MLO', keep anything that matches u-boot-spl.* (so that we keep the map file as well) and anything we generate about 'u-boot itself. A large number of bootable formats now match this and thus it's easier to build many targets and then boot them afterwards using buildman.
Quoted 5 lines
Cc Simon Glass <[email protected]>Signed-off-by Tom Rini <[email protected]>--- tools/buildman/builderthread.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)