f7a316e0fb
Since upstream commit 5da4da99e0bb3d694e93046207ae4ce3b5545043, in 3.13.0, OP-TEE client unconditionally uses the MMC_IOC_MULTI_CMD ioctl(). But this ioctl() was only introduced in kernel 4.3, so earlier kernels did not have this definition. This was clearly known when upstream started using this ioctl. From the upstream commit 5da4da99e0bb3d694e93046207ae4ce3b5545043 commit log: As MMC_IOC_MULTI_CMD is available since linux 4.3, we should be safe to use it by default on read / write block operations. So let's propagate this dependency into Buildroot. Fixes: http://autobuild.buildroot.net/results/bd270a6793df499d5f52959e3de17f8a92d88305/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_OPTEE_CLIENT
|
|
bool "optee-client"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # MMC_IOC_MULTI_CMD
|
|
help
|
|
Enable the OP-TEE client package that brings non-secure
|
|
client application resources for OP-TEE support. OP-TEE
|
|
client is a component delivered by the OP-TEE project.
|
|
|
|
The client API library allows application to invoke trusted
|
|
applications hosted in the OP-TEE OS secure world. The
|
|
supplicant provides services hosted by the non-secure world
|
|
and invoked by the secure world.
|
|
|
|
https://github.com/OP-TEE/optee_client
|
|
|
|
if BR2_PACKAGE_OPTEE_CLIENT
|
|
|
|
config BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH
|
|
string "Path for normal world OS secure storage"
|
|
default "/data/tee"
|
|
help
|
|
Path to storage area for secure storage based on the
|
|
normal world OS providing the actual storage via
|
|
tee-supplicant.
|
|
|
|
endif
|
|
|
|
comment "optee-client needs a toolchain w/ threads, dynamic library, headers >= 4.3"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
|