aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-03 12:51:36 -0600
committerSimon Glass <sjg@chromium.org>2023-08-05 11:39:23 -0600
commit1c81e0808b57d6535182632bc45696e256a8671c (patch)
tree84e1be624353977c72acc0a0b60a7c8a64d930bb
parentb49662083fea511360e9502b6a239cb038610397 (diff)
downloadu-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.py3
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)