buildman: Save *.img files too
authorTom Rini <trini@ti.com>
Tue, 11 Nov 2014 21:58:44 +0000 (16:58 -0500)
committerSimon Glass <sjg@chromium.org>
Thu, 27 Nov 2014 03:25:39 +0000 (20:25 -0700)
When saving binary files we likely want to keep any .img files that have
been generated as well.

Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/buildman/builderthread.py

index a9cf68a8016c4ea9c066ea9527986d56f0465266..bc4541cb3eb90b357e4608aca5ceae583eee1c05 100644 (file)
@@ -332,7 +332,7 @@ class BuilderThread(threading.Thread):
 
         # Now write the actual build output
         if keep_outputs:
-            patterns = ['u-boot', '*.bin', 'u-boot.dtb', '*.map',
+            patterns = ['u-boot', '*.bin', 'u-boot.dtb', '*.map', '*.img',
                         'include/autoconf.mk', 'spl/u-boot-spl',
                         'spl/u-boot-spl.bin']
             for pattern in patterns: