Skip to content

Commit

Permalink
Merge pull request #1440 from ff520git/ff520git-patch-1
Browse files Browse the repository at this point in the history
RISCV: Add target_board generation for multiple arch_abi parameters
  • Loading branch information
kito-cheng authored Apr 11, 2024
2 parents 65cf14a + 20d3459 commit f133b29
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scripts/generate_target_board
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@ def main(argv):
print ("The --sim-name and/or --build-arch-abi cannot be empty or null.")
return

target_board_list = [
generate_one_target_board(options.build_arch_abi, "", options)
]
target_board_list = []
arch_abi_list = [options.build_arch_abi]
if ' ' in options.build_arch_abi:
arch_abi_list = options.build_arch_abi.split (" ")

for one_arch_abi in arch_abi_list:
target_board = generate_one_target_board(one_arch_abi, "", options)
target_board_list.append(target_board)

if options.extra_test_arch_abi_flags_list:
extra_test_list = options.extra_test_arch_abi_flags_list.split (";")
Expand Down

0 comments on commit f133b29

Please sign in to comment.