board: Rename virt_qemu to virt_qemu_<arch>

Instead of having a generic "virt_qemu" board use "virt_qemu_<arch>" in
order to have a clean distinction between boards. Current supported
boards are "virt_qemu_arm_v7a", "virt_qemu_arm_v8a", and
"virt_qemu_riscv".

issue #4034
This commit is contained in:
Sebastian Sumpf
2022-08-09 13:32:38 +02:00
committed by Christian Helmuth
parent c462720c28
commit b5c780993c
70 changed files with 85 additions and 58 deletions

View File

@@ -54,18 +54,11 @@ proc board_qemu_args { } {
##
# Each line is appended to qemu_args.
# Arguments might be general or restricted to a particular spec as follows:
# general arguments
# arm_v7a: arguments for arm_v7a
#
set qemu_args ""
foreach line [split $file_content "\n"] {
if {[regexp {^([\w]+):(.*)$} $line dummy spec arg]} {
if {[have_spec $spec]} { append qemu_args " $arg" }
} else {
# general arguments
append qemu_args " $line"
}
}
return $qemu_args