summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-22 17:48:52 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-09 02:21:59 (GMT)
commitd5686a61d64a7c7424d6d4c93ac60cf5e324f3ad (patch)
treeb60ef0a9ddcc6fc2f3104eb5533e4f043df3af5c /tools
parente2bc87d41ce866b30721d5b8ee395efefecd9bef (diff)
downloadu-boot-d5686a61d64a7c7424d6d4c93ac60cf5e324f3ad.tar.xz
buildman: Fix bloat option when 'new' only drops functions
In the case where a new build only decreases sizes and does not increase any size we still want to report what functions have been dropped when doing a bloat comparison. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/buildman/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index b0ea57e..acb0810 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -847,7 +847,7 @@ class Builder:
delta.reverse()
args = [add, -remove, grow, -shrink, up, -down, up - down]
- if max(args) == 0:
+ if max(args) == 0 and min(args) == 0:
return
args = [self.ColourNum(x) for x in args]
indent = ' ' * 15