commit | 45f5619d51c62a94e30f8172781649c69d23fbd3 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Wed Jan 03 15:39:08 2024 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Wed Jan 03 16:27:35 2024 +0100 |
tree | 27971076dc772e46c538145186c9574be11039f8 | |
parent | 83fbbd39d8752ad961d2da1cf140012428b99a63 [diff] |
qemu-check.exp: protect access to $::env(XEN_FFA) If the XEN_FFA environment variable is not set, $::env(XEN_FFA) raises an exception. It is the case when using qemu.mk (while qemu_v8.mk correctly sets XEN_FFA always before invoking qem-check.exp): $ make check [...] no such variable (read trace on "::env(XEN_FFA)") invoked from within "if {$::env(XEN_FFA) == "y"} { set cmd2 "xl create guest_ffa.cfg" } else { set cmd2 "xl create guest.cfg" }" (file "/home/jerome/work/optee_repo_qemu/build/../build/qemu-check.exp" line 15) make: *** [Makefile:194: check] Error 1 Rather than introducing XEN_FFA in qemu.mk where is doesn't apply, guard the $::env(XEN_FFA) statement with an 'if {[info exists ::env(XEN_FFA)] ...' in qemu-check.exp. Fixes: 4809b4f67fa8 ("qemu_v8: support for FF-A in Xen") Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.
// OP-TEE core maintainers