diff options
author | Simon Glass <sjg@chromium.org> | 2018-11-06 16:02:10 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-20 19:14:22 -0700 |
commit | 40232c91d70f4f2066408cabf1afba1deb190df6 (patch) | |
tree | e4b85c34da8503aed904234c8ecdda3c94262b68 | |
parent | 12bfb2e05fc29bfbec7eb76ea8cc02e130268801 (diff) | |
download | u-boot-40232c91d70f4f2066408cabf1afba1deb190df6.tar.gz u-boot-40232c91d70f4f2066408cabf1afba1deb190df6.tar.xz u-boot-40232c91d70f4f2066408cabf1afba1deb190df6.zip |
buildman: Only print toolchain probing with -v
At present --list-tool-chains prints a lot of information about the
toolchain-probing process. This is generally not very interesting.
Update buildman to print this only if --list-tool-chains is given
with -v.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | tools/buildman/cmdline.py | 2 | ||||
-rw-r--r-- | tools/buildman/control.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 49a8a13118..93d09ca08d 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -66,7 +66,7 @@ def ParseArgs(): parser.add_option('-l', '--list-error-boards', action='store_true', default=False, help='Show a list of boards next to each error/warning') parser.add_option('--list-tool-chains', action='store_true', default=False, - help='List available tool chains') + help='List available tool chains (use -v to see probing detail)') parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run', default=False, help="Do a dry run (describe actions, but do nothing)") parser.add_option('-N', '--no-subdirs', action='store_true', dest='no_subdirs', diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 96f8ccfe07..c900211510 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -164,7 +164,7 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None, if no_toolchains: toolchains.GetSettings() - toolchains.Scan(options.list_tool_chains) + toolchains.Scan(options.list_tool_chains and options.verbose) if options.list_tool_chains: toolchains.List() print |