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:
Martin Stein
2015-02-24 14:11:35 +01:00
committed by Christian Helmuth
parent 8d9561595c
commit d2b82274db
4 changed files with 4 additions and 4 deletions

View File

@@ -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
}