xref: /OK3568_Linux_fs/buildroot/package/tpm2-tools/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_TPM2_TOOLS
2	bool "tpm2-tools"
3	depends on !BR2_STATIC_LIBS # tpm2-tss
4	depends on BR2_USE_WCHAR
5	# c16rtomb() not implemented in uClibc
6	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
7	select BR2_PACKAGE_LIBCURL
8	select BR2_PACKAGE_OPENSSL
9	select BR2_PACKAGE_TPM2_TSS
10	select BR2_PACKAGE_UTIL_LINUX
11	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
12	help
13	  TPM (Trusted Platform Module) 2.0 CLI tools based on system
14	  API of TPM2-TSS. These tools can be used to manage keys,
15	  perform encryption/decryption/signing/etc crypto operations,
16	  and manage non-volatile storage through a TPM2.0 HW
17	  implementation.
18
19	  Notice: An in-kernel resource manager is provided by the
20	  Linux kernel since 4.12. Depending on use cases and kernel
21	  version, the user space resource manager provided by
22	  tpm2-abrmd may be needed.
23
24	  https://github.com/tpm2-software/tpm2-tools
25
26comment "tpm2-tools needs a glibc or musl toolchain w/ dynamic library, wchar"
27	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
28		!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
29