Skip to content
Snippets Groups Projects
Commit 40232c91 authored by Simon Glass's avatar Simon Glass
Browse files

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's avatarSimon Glass <sjg@chromium.org>
parent 12bfb2e0
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment