package/ibm-sw-tpm2: needs threads
authorVincent Fazio <vfazio@gmail.com>
Fri, 1 May 2020 13:17:56 +0000 (08:17 -0500)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 1 May 2020 13:47:00 +0000 (15:47 +0200)
The server process leverages threads, so add the dependency.

Fixes:

  http://autobuild.buildroot.net/results/7cce8b7ad19a48b36a38ef8fd88b96fad30f05c4/

Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/ibm-sw-tpm2/Config.in

index dc5630490ff14681aa417f17e6f5acf72b86dc6d..b402ba7150c4c245c0891bf9a190d5cb81fb12be 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_IBM_SW_TPM2
        bool "ibm-sw-tpm2"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS # ibm-sw-tpm2
        select BR2_PACKAGE_OPENSSL
        # libressl is not supported
@@ -12,5 +13,5 @@ config BR2_PACKAGE_IBM_SW_TPM2
 
          https://sourceforge.net/projects/ibmswtpm2/
 
-comment "ibm-sw-tpm2 needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "ibm-sw-tpm2 needs a toolchain w/ threads, dynamic library"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS