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