xref: /OK3568_Linux_fs/buildroot/package/optee-client/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_OPTEE_CLIENT
2*4882a593Smuzhiyun	bool "optee-client"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # MMC_IOC_MULTI_CMD
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  Enable the OP-TEE client package that brings non-secure
7*4882a593Smuzhiyun	  client application resources for OP-TEE support. OP-TEE
8*4882a593Smuzhiyun	  client is a component delivered by the OP-TEE project.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	  The client API library allows application to invoke trusted
11*4882a593Smuzhiyun	  applications hosted in the OP-TEE OS secure world.  The
12*4882a593Smuzhiyun	  supplicant provides services hosted by the non-secure world
13*4882a593Smuzhiyun	  and invoked by the secure world.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  https://github.com/OP-TEE/optee_client
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunif BR2_PACKAGE_OPTEE_CLIENT
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH
20*4882a593Smuzhiyun	string "Path for normal world OS secure storage"
21*4882a593Smuzhiyun	default "/data/tee"
22*4882a593Smuzhiyun	help
23*4882a593Smuzhiyun	  Path to storage area for secure storage based on the
24*4882a593Smuzhiyun	  normal world OS providing the actual storage via
25*4882a593Smuzhiyun	  tee-supplicant.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig BR2_PACKAGE_OPTEE_CLIENT_RPMB_EMU
28*4882a593Smuzhiyun	bool "Enable RPMB emulation"
29*4882a593Smuzhiyun	default y
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  Enable RPMB device emulation in tee-supplicant.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig BR2_PACKAGE_OPTEE_CLIENT_SUPP_PLUGINS
34*4882a593Smuzhiyun	bool "Enable TEE supplicant plugins"
35*4882a593Smuzhiyun	default y
36*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # dlfcn.h
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  Enable TEE supplicant plugin support.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunendif
41*4882a593Smuzhiyun
42*4882a593Smuzhiyuncomment "optee-client needs a toolchain w/ threads, headers >= 4.3"
43*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
44*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
45