diff options
author | Simon Glass <sjg@chromium.org> | 2023-08-03 12:51:36 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-08-05 11:39:23 -0600 |
commit | 1c81e0808b57d6535182632bc45696e256a8671c (patch) | |
tree | 84e1be624353977c72acc0a0b60a7c8a64d930bb | |
parent | b49662083fea511360e9502b6a239cb038610397 (diff) | |
download | u-boot-1c81e0808b57d6535182632bc45696e256a8671c.zip u-boot-1c81e0808b57d6535182632bc45696e256a8671c.tar.gz u-boot-1c81e0808b57d6535182632bc45696e256a8671c.tar.bz2 |
buildman: Exit after reading toolchain
Recent refactoring changed buildman to continue operation after fetching
a toolchain. Fix this.
Fixes: b8680646521 ("bulidman: Move toolchain handling to a function")
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | tools/buildman/control.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 5c57200..f2ffb7f 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -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) |