Skip to contentSkip to conversation

package/ibm-sw-tpm2: needs threads

PATCH Superseded Vincent Fazio 2 participants 3 messages May 1, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ibm-sw-tpm2: needs threads

From: Vincent Fazio <[email protected]>

The server process leverages threads, so add the dependency.

Fixes:

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

---
 package/ibm-sw-tpm2/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/ibm-sw-tpm2/Config.in +3 -2
index dc5630490f..5c915c7e84 100644
@@ -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
Signature · 1 line
2.26.2
#1 lore raw

PATCH v2 1/1 package/ibm-sw-tpm2: needs threads

From: Vincent Fazio <[email protected]>

The server process leverages threads, so add the dependency.

Fixes:

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

---
Changes v1 _-> v2:
- Fix spacing issue in condition

 package/ibm-sw-tpm2/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/ibm-sw-tpm2/Config.in +3 -2
index dc5630490f..b402ba7150 100644
@@ -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
Signature · 1 line
2.26.2
#2 lore raw

PATCH v2 1/1 package/ibm-sw-tpm2: needs threads

On 2020-05-01 08:17 -0500, Vincent Fazio spake thusly:

Quoted 10 lines

From: Vincent Fazio <[email protected]>

The server process leverages threads, so add the dependency.

Fixes:

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

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 33 lines

---
Changes v1 _-> v2:
- Fix spacing issue in condition

 package/ibm-sw-tpm2/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/ibm-sw-tpm2/Config.in +3 -2
index dc5630490f..b402ba7150 100644
@@ -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
Signature · 6 lines
2.26.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'