diff options
author | Simon Glass <sjg@chromium.org> | 2021-01-30 22:17:46 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-04 17:51:43 -0500 |
commit | b82492bbccb0ecdee17108ed43c4220f00f3f4f3 (patch) | |
tree | ca38bcb5b59f05f837a2350588574e9eaa8f6fd5 /tools/buildman/cmdline.py | |
parent | d6bf36c775213689763ad05913a1b5e76a61daaf (diff) | |
download | u-boot-b82492bbccb0ecdee17108ed43c4220f00f3f4f3.tar.gz |
buildman: Support single-threaded operation
At present even if only a single thread is in use, buildman still uses
threading.
For some debugging it is helpful to do everything in the main process.
Allow -T0 to support this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r-- | tools/buildman/cmdline.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 680c072d66..274b5ac3f4 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -97,7 +97,8 @@ def ParseArgs(): parser.add_option('-t', '--test', action='store_true', dest='test', default=False, help='run tests') parser.add_option('-T', '--threads', type='int', - default=None, help='Number of builder threads to use') + default=None, + help='Number of builder threads to use (0=single-thread)') parser.add_option('-u', '--show_unknown', action='store_true', default=False, help='Show boards with unknown build result') parser.add_option('-U', '--show-environment', action='store_true', |