3d63951ab8
Since upstream commit eca77c1419617a8e2d6d8008bac716878b0c27ca, the
c16rtomb() wide-char function is used by tpm2-tools, but this function
is not implemented by uClibc.
This commit first appeared in tpm-tools 4.2, and therefore the bump
from version 4.1.2 to 4.3.2 in commit
91aa6efa85
causes a build failure on
uClibc configurations.
An issue was reported at
https://github.55860.com/tpm2-software/tpm2-tools/issues/2785, but in
the mean time, we disable tpm2-tools on uClibc configurations.
Fixes:
http://autobuild.buildroot.net/results/f91950b1e5620844bb04a65252d0836da736965d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_TPM2_TOOLS
|
|
bool "tpm2-tools"
|
|
depends on !BR2_STATIC_LIBS # tpm2-tss
|
|
depends on BR2_USE_WCHAR
|
|
# c16rtomb() not implemented in uClibc
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_TPM2_TSS
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
help
|
|
TPM (Trusted Platform Module) 2.0 CLI tools based on system
|
|
API of TPM2-TSS. These tools can be used to manage keys,
|
|
perform encryption/decryption/signing/etc crypto operations,
|
|
and manage non-volatile storage through a TPM2.0 HW
|
|
implementation.
|
|
|
|
Notice: An in-kernel resource manager is provided by the
|
|
Linux kernel since 4.12. Depending on use cases and kernel
|
|
version, the user space resource manager provided by
|
|
tpm2-abrmd may be needed.
|
|
|
|
https://github.com/tpm2-software/tpm2-tools
|
|
|
|
comment "tpm2-tools needs a glibc or musl toolchain w/ dynamic library, wchar"
|
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
|
|
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|