diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-16 01:05:55 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-26 20:25:40 -0700 |
commit | f66153be193af3d4aa4d3630e7dcb41bfd6313b6 (patch) | |
tree | c95fc8c754759838044263f9e659ed9cb75c81eb /tools/buildman | |
parent | 0b5b409acca23e9b08c84f5ad531e287601448a2 (diff) | |
download | u-boot-imx-f66153be193af3d4aa4d3630e7dcb41bfd6313b6.zip u-boot-imx-f66153be193af3d4aa4d3630e7dcb41bfd6313b6.tar.gz u-boot-imx-f66153be193af3d4aa4d3630e7dcb41bfd6313b6.tar.bz2 |
buildman: Fix repeating board list with -l
Ensure that we don't print duplicate board names when -l is used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'tools/buildman')
-rw-r--r-- | tools/buildman/builder.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 8155c16..7002034 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -918,7 +918,8 @@ class Builder: if self._list_error_boards: names = [] for board in line_boards[line]: - names.append(board.target) + if not board.target in names: + names.append(board.target) names_str = '(%s) ' % ','.join(names) else: names_str = '' |