Skip to content

Commit d533c90

Browse files
committed
tools/autobuild: Don't allow a board to change its ID.
All board IDs are now the board directory name. Signed-off-by: Damien George <[email protected]>
1 parent ca71df0 commit d533c90

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/autobuild/build-downloads.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ def main(repo_path, output_path):
6565
)
6666
sys.exit(1)
6767

68-
# Use "id" if specified, otherwise default to board dir (e.g. "PYBV11").
69-
# We allow boards to override ID for the historical build names.
70-
blob["id"] = blob.get("id", os.path.basename(board_dir))
68+
# The ID of a board is the board directory (e.g. "PYBV11").
69+
blob["id"] = os.path.basename(board_dir)
7170

7271
# Check for duplicate board IDs.
7372
if blob["id"] in board_ids:

0 commit comments

Comments
 (0)