Revert "waf: list boards 1/line in case of board-not-found error"

This reverts commit 8ab74d9462.

This broke the build server which parses the output of this
This commit is contained in:
Peter Barker 2021-05-21 10:57:15 +10:00 committed by Andrew Tridgell
parent 02feaaffcd
commit 0d05bb9732
1 changed files with 1 additions and 5 deletions

View File

@ -404,11 +404,7 @@ Please use a replacement build as follows:
boards = _board_classes.keys() boards = _board_classes.keys()
if not ctx.env.BOARD in boards: if not ctx.env.BOARD in boards:
ctx.fatal( ctx.fatal("Invalid board '%s': choices are %s" % (ctx.env.BOARD, ', '.join(sorted(boards, key=str.lower))))
"Invalid board '%s': choices are\n%sInvalid board '%s'. Options shown above this line." %
(ctx.env.BOARD,
''.join([" %s\n" % x for x in sorted(boards, key=str.lower)]),
ctx.env.BOARD))
_board = _board_classes[ctx.env.BOARD]() _board = _board_classes[ctx.env.BOARD]()
return _board return _board