blob: eb6ee1650258ea138100443f2ebec7ac219c9c84 [file] [log] [blame]
config BR2_PACKAGE_OPTEE_EXAMPLES
bool "optee-examples"
depends on BR2_TARGET_OPTEE_OS
depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
depends on !BR2_STATIC_LIBS # optee-client
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
depends on BR2_USE_MMU # optee-client
select BR2_PACKAGE_OPTEE_CLIENT
select BR2_TARGET_OPTEE_OS_SDK
help
Enable the OP-TEE examples package that brings examples of
implementation of OP-TEE non-secure client applications and
secure trusted applications. OP-TEE examples is a
component delivered by the OP-TEE project.
Trusted application binary files are installed in the target
directory /lib/optee_armtz as other trusted applications.
At runtime OP-TEE OS can load trusted applications from this
non-secure filesystem/directory into the secure world for
execution.
https://github.com/linaro-swg/optee_examples
comment "optee-examples needs a toolchain w/ threads, dynamic library, headers >= 4.3"
depends on BR2_TARGET_OPTEE_OS
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3