[U-Boot] [PATCH] buildman: Keep more outputs with the --keep-outputs flag

Tom Rini trini at konsulko.com
Fri Mar 20 15:50:38 CET 2015


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.

Cc: Simon Glass <sjg at chromium.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 tools/buildman/builderthread.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index efb62f1..0550d26 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -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:
-- 
1.7.9.5



More information about the U-Boot mailing list