[PATCH 1/2] buildman: Exit after reading toolchain
Simon Glass
sjg at chromium.org
Thu Aug 3 20:51:36 CEST 2023
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 at chromium.org>
---
tools/buildman/control.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index 5c5720034b6..f2ffb7f5b4a 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)
--
2.41.0.640.ga95def55d0-goog
More information about the U-Boot
mailing list