mirror of
https://xff.cz/git/u-boot/
synced 2025-09-28 14:01:16 +02:00
binman: Support multithreading for building images
Some images may take a while to build, e.g. if they are large and use slow compression. Support compiling sections in parallel to speed things up. Signed-off-by: Simon Glass <sjg@chromium.org> (fixed to use a separate test file to fix flakiness)
This commit is contained in:
@@ -32,6 +32,10 @@ controlled by a description in the board device tree.'''
|
||||
default=False, help='Display the README file')
|
||||
parser.add_argument('--toolpath', type=str, action='append',
|
||||
help='Add a path to the directories containing tools')
|
||||
parser.add_argument('-T', '--threads', type=int,
|
||||
default=None, help='Number of threads to use (0=single-thread)')
|
||||
parser.add_argument('--test-section-timeout', action='store_true',
|
||||
help='Use a zero timeout for section multi-threading (for testing)')
|
||||
parser.add_argument('-v', '--verbosity', default=1,
|
||||
type=int, help='Control verbosity: 0=silent, 1=warnings, 2=notices, '
|
||||
'3=info, 4=detail, 5=debug')
|
||||
|
Reference in New Issue
Block a user