Skip to contentSkip to conversation

package/rng-tools: needs threads

PATCH New Matt Weber 2 participants 2 messages Oct 25, 2019

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH 1/1 package/rng-tools: needs threads

Since the bump to 6.7 there has been a new dependency on threads.
https://github.com/nhorman/rng-tools/commit/6952b8ae4736a9b8f58fd2ff330a423ea76cf515#diff-c949f93d03f44a4217d7a138f9e2e54a

Fixes:
http://autobuild.buildroot.net/results/fff63dd9a53eafe0234ad19f715f050527afedc8/

---
 package/rng-tools/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/rng-tools/Config.in +4 -0
index bbcf4db843..b5cce7e39d 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_RNG_TOOLS
 	bool "rng-tools"
 	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS || !(BR2_i386 || BR2_x86_64) # libgcrypt
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
 	select BR2_PACKAGE_JITTERENTROPY_LIBRARY
 	# For rdrand ligcrypt is required and it's not obvious to users
@@ -10,3 +11,6 @@ config BR2_PACKAGE_RNG_TOOLS
 	  Daemon to use hardware random number generators.
 
 	  http://sourceforge.net/projects/gkernel/
+
+comment "rng-tools needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/rng-tools: needs threads

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

"Matt" == Matt Weber <[email protected]> writes:

Since the bump to 6.7 there has been a new dependency on threads.
https://github.com/nhorman/rng-tools/commit/6952b8ae4736a9b8f58fd2ff330a423ea76cf515#diff-c949f93d03f44a4217d7a138f9e2e54a

Fixes:
http://autobuild.buildroot.net/results/fff63dd9a53eafe0234ad19f715f050527afedc8/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard