scripts: utils: board_v1_to_v2: drop board_legacy prefix
So that script can be used for out of tree boards from now on. All in-tree boards have been already ported, so the prefix no longer makes sense. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
committed by
Carles Cufi
parent
7aa36e6640
commit
b774cdd59f
@@ -43,7 +43,7 @@ ZEPHYR_BASE = Path(__file__).parents[2]
|
||||
|
||||
def board_v1_to_v2(board_root, board, new_board, group, vendor, soc, variants):
|
||||
try:
|
||||
board_path = next(board_root.glob(f"boards/boards_legacy/*/{board}"))
|
||||
board_path = next(board_root.glob(f"boards/*/{board}"))
|
||||
except StopIteration:
|
||||
sys.exit(f"Board not found: {board}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user