mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
0b5b409acc
commit
f66153be19
1 changed files with 2 additions and 1 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue