mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
buildman: Fix the logic for the bloat command
This check should now be done whatever mode buildman is running in, since we may be displaying information while building. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6b1978f8a1
commit
7798e2285f
1 changed files with 3 additions and 3 deletions
|
@ -244,13 +244,13 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None,
|
||||||
Print(GetActionSummary(options.summary, commits, board_selected,
|
Print(GetActionSummary(options.summary, commits, board_selected,
|
||||||
options))
|
options))
|
||||||
|
|
||||||
|
# We can't show function sizes without board details at present
|
||||||
|
if options.show_bloat:
|
||||||
|
options.show_detail = True
|
||||||
builder.SetDisplayOptions(options.show_errors, options.show_sizes,
|
builder.SetDisplayOptions(options.show_errors, options.show_sizes,
|
||||||
options.show_detail, options.show_bloat,
|
options.show_detail, options.show_bloat,
|
||||||
options.list_error_boards)
|
options.list_error_boards)
|
||||||
if options.summary:
|
if options.summary:
|
||||||
# We can't show function sizes without board details at present
|
|
||||||
if options.show_bloat:
|
|
||||||
options.show_detail = True
|
|
||||||
builder.ShowSummary(commits, board_selected)
|
builder.ShowSummary(commits, board_selected)
|
||||||
else:
|
else:
|
||||||
fail, warned = builder.BuildBoards(commits, board_selected,
|
fail, warned = builder.BuildBoards(commits, board_selected,
|
||||||
|
|
Loading…
Reference in a new issue