xref: /OK3568_Linux_fs/buildroot/package/optee-examples/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_OPTEE_EXAMPLES
2*4882a593Smuzhiyun	bool "optee-examples"
3*4882a593Smuzhiyun	depends on BR2_TARGET_OPTEE_OS
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
5*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # optee-client
6*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
7*4882a593Smuzhiyun	select BR2_PACKAGE_OPTEE_CLIENT
8*4882a593Smuzhiyun	select BR2_TARGET_OPTEE_OS_SDK
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Enable the OP-TEE examples package that brings examples of
11*4882a593Smuzhiyun	  implementation of OP-TEE non-secure client applications and
12*4882a593Smuzhiyun	  secure trusted applications. OP-TEE examples is a
13*4882a593Smuzhiyun	  component delivered by the OP-TEE project.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  Trusted application binary files are installed in the target
16*4882a593Smuzhiyun	  directory /lib/optee_armtz as other trusted applications.
17*4882a593Smuzhiyun	  At runtime OP-TEE OS can load trusted applications from this
18*4882a593Smuzhiyun	  non-secure filesystem/directory into the secure world for
19*4882a593Smuzhiyun	  execution.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	  https://github.com/linaro-swg/optee_examples
22*4882a593Smuzhiyun
23*4882a593Smuzhiyuncomment "optee-examples needs a toolchain w/ threads, dynamic library, headers >= 4.3"
24*4882a593Smuzhiyun	depends on BR2_TARGET_OPTEE_OS
25*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
26*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
27