7d1080a1b4
OP-TEE test package provide test materials as part of the OP-TEE project helping platforms to verify their OP-TEE components against a set of regression and performance tests. Package is added in the BR package configuration next to the OP-TEE client package. This change references in Buildroot the today's latest OP-TEE revision release tagged 3.4.0 with an added patch to fix an issue reported by recent GCC toolchains. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> [Thomas: - drop version selection - propagate !BR2_STATIC_LIBS dependency of optee-client - make sure BR2_TARGET_OPTEE_OS_SDK is selected - use a patch generated by git format-patch - simplify the construct to build the examples] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
953 B
Plaintext
28 lines
953 B
Plaintext
config BR2_PACKAGE_OPTEE_TEST
|
|
bool "optee-test"
|
|
depends on BR2_TARGET_OPTEE_OS
|
|
depends on !BR2_STATIC_LIBS # optee-client
|
|
select BR2_PACKAGE_OPTEE_CLIENT
|
|
select BR2_TARGET_OPTEE_OS_SDK
|
|
help
|
|
This build option enables OP-TEE test package from the
|
|
OP-TEE project. It helps platforms to verify the OP-TEE
|
|
installation against a set of regression and performance
|
|
tests.
|
|
|
|
The package generates userspace test applications and
|
|
data files for the Linux userland. It also generates
|
|
OP-TEE trusted applications.
|
|
|
|
Trusted application binary files are installed in the target
|
|
directory /lib/optee_armtz as other trusted applications.
|
|
At runtime OP-TEE OS can load trusted applications from this
|
|
non-secure filesystem/directory into the secure world for
|
|
execution.
|
|
|
|
http://github.com/OP-TEE/optee_test
|
|
|
|
comment "optee-test needs a toolchain w/ dynamic library"
|
|
depends on BR2_TARGET_OPTEE_OS
|
|
depends on BR2_STATIC_LIBS
|