summaryrefslogtreecommitdiffstats
path: root/tools/buildman/builderthread.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 22:06:12 -0700
committerSimon Glass <sjg@chromium.org>2015-04-18 16:24:24 -0600
commit40f11fce7c686f2b51ae109c4085fb5988c5631c (patch)
treea0686923d01306ca4937de003b73f0acc41b1194 /tools/buildman/builderthread.py
parent741e58e0fc8ecf5669ccb7cd9100c5bf68d89158 (diff)
downloadtalos-obmc-uboot-40f11fce7c686f2b51ae109c4085fb5988c5631c.tar.gz
talos-obmc-uboot-40f11fce7c686f2b51ae109c4085fb5988c5631c.zip
buildman: Show 'make' command line when -V is used
When a verbose build it selected, show the make command before the output of that command. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/builderthread.py')
-rw-r--r--tools/buildman/builderthread.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index efb62f16d7..6ad240d606 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -209,14 +209,17 @@ class BuilderThread(threading.Thread):
if do_config:
result = self.Make(commit, brd, 'mrproper', cwd,
'mrproper', *args, env=env)
+ config_out = result.combined
result = self.Make(commit, brd, 'config', cwd,
*(args + config_args), env=env)
- config_out = result.combined
+ config_out += result.combined
do_config = False # No need to configure next time
if result.return_code == 0:
result = self.Make(commit, brd, 'build', cwd, *args,
env=env)
result.stderr = result.stderr.replace(src_dir + '/', '')
+ if self.builder.verbose_build:
+ result.stdout = config_out + result.stdout
else:
result.return_code = 1
result.stderr = 'No tool chain for %s\n' % brd.arch
OpenPOWER on IntegriCloud