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