summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-19 13:21:24 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-27 08:39:16 +0900
commit95bf9c7e34ee6961daefd8969b28dbc2e4238562 (patch)
tree594e7d96bc77f3abd0ad7c195a06321fa8ed2804 /tools
parent25400090b1e20b4c98d72f3e427257435c9c0b91 (diff)
downloadu-boot-95bf9c7e34ee6961daefd8969b28dbc2e4238562.tar.gz
u-boot-95bf9c7e34ee6961daefd8969b28dbc2e4238562.tar.bz2
u-boot-95bf9c7e34ee6961daefd8969b28dbc2e4238562.zip
moveconfig: Add a switch to enable printing errors
In some cases the build for the autoconf breaks. This outputs the errors following the status so that action can be taken without building again manually. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/moveconfig.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index e53bff0520..a35d3bf156 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -153,6 +153,9 @@ Available options
Specify the number of threads to run simultaneously. If not specified,
the number of threads is the same as the number of CPU cores.
+ -v, --verbose
+ Show any build errors as boards are built
+
To see the complete list of supported options, run
$ tools/moveconfig.py -h
@@ -611,6 +614,9 @@ class Slot:
COLOR_LIGHT_RED,
self.defconfig,
errmsg),
+ if self.options.verbose:
+ print >> sys.stderr, color_text(self.options.color,
+ COLOR_LIGHT_CYAN, errout)
if self.options.exit_on_error:
sys.exit("Exit on error.")
else:
@@ -875,6 +881,8 @@ def main():
help='only cleanup the headers')
parser.add_option('-j', '--jobs', type='int', default=cpu_count,
help='the number of jobs to run simultaneously')
+ parser.add_option('-v', '--verbose', action='store_true', default=False,
+ help='show any build errors as boards are built')
parser.usage += ' recipe_file\n\n' + \
'The recipe_file should describe config options you want to move.\n' + \
'Each line should contain config_name, type, default_value\n\n' + \