aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2021-02-27 20:26:39 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-03-01 22:34:22 +0100
commit9598b7a00bc7a97070cc38c5f241262c27a7f056 (patch)
tree935a16f51a7852068ef3ba4168c72b05a9b6a0c8
parente276d14cd846d396fd8e7c4fcc1f2c4c5613ba65 (diff)
downloadbuildroot-9598b7a00bc7a97070cc38c5f241262c27a7f056.tar.gz
buildroot-9598b7a00bc7a97070cc38c5f241262c27a7f056.tar.bz2
package/tpm2-pkcs11: needs threads
tpm2-pkcs11 fails to build without threads since its addition with commit 42db2c7236c2249ec02608ed714fa6f95e36161b Fixes: - http://autobuild.buildroot.org/results/8218776da34cc4a20663ae6737ad7727b12d8cd2 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/tpm2-pkcs11/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/tpm2-pkcs11/Config.in b/package/tpm2-pkcs11/Config.in
index 46d5cab07e..5d45703223 100644
--- a/package/tpm2-pkcs11/Config.in
+++ b/package/tpm2-pkcs11/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_TPM2_PKCS11
bool "tpm2-pkcs11"
depends on !BR2_STATIC_LIBS # tpm2-tss
+ depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBYAML
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_SQLITE
@@ -10,5 +11,5 @@ config BR2_PACKAGE_TPM2_PKCS11
https://github.com/tpm2-software/tpm2-pkcs11
-comment "tpm2-pkcs11 needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
+comment "tpm2-pkcs11 needs a toolchain w/ dynamic library, threads"
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS