mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
buildman: Exit after reading toolchain
Recent refactoring changed buildman to continue operation after fetching
a toolchain. Fix this.
Fixes: b868064652
("bulidman: Move toolchain handling to a function")
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b49662083f
commit
1c81e0808b
1 changed files with 3 additions and 0 deletions
|
@ -610,6 +610,9 @@ def do_buildman(args, toolchains=None, make_func=None, brds=None,
|
|||
toolchains = get_toolchains(toolchains, col, args.override_toolchain,
|
||||
args.fetch_arch, args.list_tool_chains,
|
||||
args.verbose)
|
||||
if isinstance(toolchains, int):
|
||||
return toolchains
|
||||
|
||||
output_dir = setup_output_dir(
|
||||
args.output_dir, args.work_in_output, args.branch,
|
||||
args.no_subdirs, col, clean_dir)
|
||||
|
|
Loading…
Reference in a new issue