Skip to content

Commit f133b29

Browse files
authored
Merge pull request #1440 from ff520git/ff520git-patch-1
RISCV: Add target_board generation for multiple arch_abi parameters
2 parents 65cf14a + 20d3459 commit f133b29

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

scripts/generate_target_board

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,14 @@ def main(argv):
5050
print ("The --sim-name and/or --build-arch-abi cannot be empty or null.")
5151
return
5252

53-
target_board_list = [
54-
generate_one_target_board(options.build_arch_abi, "", options)
55-
]
53+
target_board_list = []
54+
arch_abi_list = [options.build_arch_abi]
55+
if ' ' in options.build_arch_abi:
56+
arch_abi_list = options.build_arch_abi.split (" ")
57+
58+
for one_arch_abi in arch_abi_list:
59+
target_board = generate_one_target_board(one_arch_abi, "", options)
60+
target_board_list.append(target_board)
5661

5762
if options.extra_test_arch_abi_flags_list:
5863
extra_test_list = options.extra_test_arch_abi_flags_list.split (";")

0 commit comments

Comments
 (0)