1config BR2_PACKAGE_OPTEE_TEST
2	bool "optee-test"
3	depends on BR2_TARGET_OPTEE_OS
4	depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
5	depends on BR2_INSTALL_LIBSTDCPP
6	depends on !BR2_STATIC_LIBS # optee-client
7	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
8	depends on BR2_USE_MMU # optee-client
9	select BR2_PACKAGE_OPTEE_CLIENT
10	select BR2_TARGET_OPTEE_OS_SDK
11	help
12	  This build option enables OP-TEE test package from the
13	  OP-TEE project. It helps platforms to verify the OP-TEE
14	  installation against a set of regression and performance
15	  tests.
16
17	  The package generates userspace test applications and
18	  data files for the Linux userland. It also generates
19	  OP-TEE trusted applications.
20
21	  Trusted application binary files are installed in the target
22	  directory /lib/optee_armtz as other trusted applications.
23	  At runtime OP-TEE OS can load trusted applications from this
24	  non-secure filesystem/directory into the secure world for
25	  execution.
26
27	  http://github.com/OP-TEE/optee_test
28
29comment "optee-test needs a toolchain w/ threads, C++, dynamic library, headers >= 4.3"
30	depends on BR2_TARGET_OPTEE_OS
31	depends on BR2_USE_MMU
32	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
33		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
34