Skip to contentSkip to conversation

package/tpm2-pkcs11: needs threads

PATCH New Fabrice Fontaine 2 participants 2 messages Feb 27, 2021 – Mar 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/tpm2-pkcs11/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/tpm2-pkcs11/Config.in +3 -2
index 46d5cab07e..5d45703223 100644
@@ -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
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 package/tpm2-pkcs11: needs threads

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

tpm2-pkcs11 fails to build without threads since its addition with commit 42db2c7236c2249ec02608ed714fa6f95e36161b

Fixes:
- http://autobuild.buildroot.org/results/8218776da34cc4a20663ae6737ad7727b12d8cd2

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard