Skip to content

Commit 99e2d2b

Browse files
Incarnation-p-leecmuellner
authored andcommitted
Fix one bug of generate target board
The default value of subarray is the length, thus we should take `idx` instead of `idx - 1` here. Signed-off-by: Pan Li <[email protected]>
1 parent ae9efcc commit 99e2d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate_target_board

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main(argv):
6464
one_target_board = generate_one_target_board(extra_test, "", options)
6565
target_board_list.append(one_target_board)
6666
else:
67-
arch_abi = extra_test[:idx - 1]
67+
arch_abi = extra_test[:idx]
6868
flags = extra_test[idx + 1:]
6969

7070
for flag in flags.split(","):

0 commit comments

Comments
 (0)