summaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-09 15:33:03 -0600
committerSimon Glass <sjg@chromium.org>2014-08-13 08:34:15 -0600
commite5a0e5d84239c71a156a0a14d9332c5532f2411e (patch)
tree8f868766dea9ec705ed6b38003e3d3c303c67c54 /tools/buildman/control.py
parentb2ea7ab25258621871db1f884be1a2f2b1641741 (diff)
downloadu-boot-imx-e5a0e5d84239c71a156a0a14d9332c5532f2411e.zip
u-boot-imx-e5a0e5d84239c71a156a0a14d9332c5532f2411e.tar.gz
u-boot-imx-e5a0e5d84239c71a156a0a14d9332c5532f2411e.tar.bz2
buildman: Add verbose option to display errors as they happen
Normally buildman operates in two passes - one to do the build and another to summarise the errors. Add a verbose option (-v) to display build problems as they happen. With -e also given, this will display errors too. When building the current source tree (rather than a list of commits in a branch), both -v and -e are enabled automatically. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/control.py')
-rw-r--r--tools/buildman/control.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index d8fa74b..cc8593f 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -158,6 +158,8 @@ def DoBuildman(options, args):
series)
else:
series = None
+ options.verbose = True
+ options.show_errors = True
# By default we have one thread per CPU. But if there are not enough jobs
# we can have fewer threads and use a high '-j' value for make.
@@ -216,4 +218,4 @@ def DoBuildman(options, args):
builder.ShowSummary(commits, board_selected)
else:
builder.BuildBoards(commits, board_selected,
- options.keep_outputs)
+ options.keep_outputs, options.verbose)