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