Lines Matching refs:board
72 def _build_path_exists(board, buildpath): argument
91 _BUILD_URI_FORMAT % (board, buildpath)
101 def _normalize_build_name(board, build): argument
136 _BUILD_URI_FORMAT % (board, fmt % build)
142 elif _build_path_exists(board, '%s/image.zip' % build):
149 def _validate_board(board): argument
165 if board is None:
168 if _build_path_exists(board, 'LATEST-master'):
171 sys.stderr.write('Board %s doesn\'t exist.\n' % board)
175 def _validate_build(board, build): argument
191 canonical_build = _normalize_build_name(board, build)
195 (build, board))
238 (arguments.board or arguments.build)):
242 if arguments.board is not None:
243 if not _validate_board(arguments.board):
246 not _validate_build(arguments.board, arguments.build)):
294 def _read_build(input, board): argument
313 build = _validate_build(board, build)
366 arguments.board = _read_board(input, arguments.board)
367 arguments.build = _read_build(input, arguments.board)
369 arguments.board, arguments.build)
430 if arguments.board is None:
437 arguments.board)