run scripts: don't use is_qemu_available anymore
With the new run tool, there is no more is_qemu_available function. However, some scripts still try to use it because only frequently used scripts were updated by now. The commit replaces the function calls with the new 'have_include power_on/qemu' check. Ref #1419
This commit is contained in:
committed by
Christian Helmuth
parent
8d9561595c
commit
d2b82274db
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Check if USB_RAW_DEVICE is set for Qemu
|
||||
#
|
||||
if {![info exists ::env(USB_RAW_DEVICE)] && [is_qemu_available]} {
|
||||
if {![info exists ::env(USB_RAW_DEVICE)] && [have_include power_on/qemu]} {
|
||||
puts "\nPlease define USB_RAW_DEVICE environment variable and set it to your USB device <bus.device>\n"
|
||||
exit 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user