summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-14 20:23:16 -0600
committerSimon Glass <sjg@chromium.org>2014-09-21 12:03:07 -0600
commit7798e2285fda17aa2268cbe18498678cf857905f (patch)
treee4c476fe99675bb79ee8faaba73a5d00cde1a174
parent6b1978f8a14fc2f53715f65827e98d607cc21e63 (diff)
downloadu-boot-imx-7798e2285fda17aa2268cbe18498678cf857905f.zip
u-boot-imx-7798e2285fda17aa2268cbe18498678cf857905f.tar.gz
u-boot-imx-7798e2285fda17aa2268cbe18498678cf857905f.tar.bz2
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>
-rw-r--r--tools/buildman/control.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index e97350f..8b8c826 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -244,13 +244,13 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None,
Print(GetActionSummary(options.summary, commits, board_selected,
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,
options.show_detail, options.show_bloat,
options.list_error_boards)
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)
else:
fail, warned = builder.BuildBoards(commits, board_selected,