summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-03-20 10:50:38 -0400
committerSimon Glass <sjg@chromium.org>2015-04-18 16:24:25 -0600
commit0eb4c045038e5fdbbab342b226c79445faf5116c (patch)
treebf052d48a5fef10fdd40e9b5c297b9c9033bc047 /tools
parent843312dcdd942dc1d7d9009863b04340287326e0 (diff)
downloadblackbird-obmc-uboot-0eb4c045038e5fdbbab342b226c79445faf5116c.tar.gz
blackbird-obmc-uboot-0eb4c045038e5fdbbab342b226c79445faf5116c.zip
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. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/buildman/builderthread.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 7384a72be6..b4cfdeee08 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -353,10 +353,9 @@ class BuilderThread(threading.Thread):
# Now write the actual build output
if keep_outputs:
- self.CopyFiles(result.out_dir, build_dir, '', ['u-boot', '*.bin',
- 'u-boot.dtb', '*.map', '*.img',
- 'spl/u-boot-spl', 'spl/u-boot-spl.bin',
- 'tpl/u-boot-tpl', 'tpl/u-boot-tpl.bin'])
+ self.CopyFiles(result.out_dir, build_dir, '', ['u-boot*', '*.bin',
+ '*.map', '*.img', 'MLO', 'include/autoconf.mk',
+ 'spl/u-boot-spl*'])
def CopyFiles(self, out_dir, build_dir, dirname, patterns):
"""Copy files from the build directory to the output.
OpenPOWER on IntegriCloud