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