autopilot: disable run script not supported by riscv

Issue #4021
This commit is contained in:
Christian Helmuth 2021-02-24 12:04:56 +01:00
parent 1d551bd967
commit cbe81d35b9

View File

@ -1,3 +1,8 @@
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
puts "Autopilot mode is not supported on this platform."
exit 0
}
set mkfs_cmd [installed_command mke2fs]
set mkfs_opts "-F"