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