mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
run/tz_vmm: fix deprecated use of board specs
Filtering boards in a run script by specs isn't the right way anymore (the specs do not exist anymore). Nowadays, we have to use [have_board] instead. Ref #4229
This commit is contained in:
parent
00e8e363d8
commit
c8a8cbd7be
@ -86,7 +86,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
assert_spec hw
|
assert_spec hw
|
||||||
assert_spec imx53_qsb_tz
|
|
||||||
|
if {[expr ![have_board imx53_qsb_tz] && ![have_board usb_armory]]} {
|
||||||
|
|
||||||
|
puts "\n Run script is not supported on this platform. \n"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
# determine platform specific configuration
|
# determine platform specific configuration
|
||||||
set trusted_led [have_board usb_armory]
|
set trusted_led [have_board usb_armory]
|
||||||
@ -99,8 +104,8 @@ set dtb $inversepath_linux
|
|||||||
set targets { core init server/tz_vmm }
|
set targets { core init server/tz_vmm }
|
||||||
|
|
||||||
proc tz_vmm_binary {} {
|
proc tz_vmm_binary {} {
|
||||||
if {[have_board usb_armory]} { return usb_armory_tz_vmm }
|
if {[have_board usb_armory]} { return usb_armory_tz_vmm }
|
||||||
if {[have_board imx53_qsb]} { return imx53_qsb_tz_vmm }
|
if {[have_board imx53_qsb_tz]} { return imx53_qsb_tz_vmm }
|
||||||
return no_tz_vmm_binary
|
return no_tz_vmm_binary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user