mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02: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:
@@ -918,7 +918,8 @@ class Builder:
|
|||||||
if self._list_error_boards:
|
if self._list_error_boards:
|
||||||
names = []
|
names = []
|
||||||
for board in line_boards[line]:
|
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)
|
names_str = '(%s) ' % ','.join(names)
|
||||||
else:
|
else:
|
||||||
names_str = ''
|
names_str = ''
|
||||||
|
Reference in New Issue
Block a user