Skip to contentSkip to conversation

package/rng-tools: powerpc64le requires libgcrypt

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

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH 1/1 package/rng-tools: powerpc64le requires libgcrypt

This patch adds the libgcrypt dependency for rngd_darn support when building for the specific BR2_powerpc64le archtecture. This entropy source is only enabled when powerpc64le is selected.

Fixes:
http://autobuild.buildroot.net/results/a41/a412ccef864e8279dcc917e106b5f7b515ed95da/

---
 package/rng-tools/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/rng-tools/Config.in +3 -3
index b5cce7e39d..7218aeac97 100644
@@ -1,11 +1,11 @@
 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_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS || !(BR2_i386 || BR2_x86_64 || BR2_powerpc64le) # 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
-	select BR2_PACKAGE_LIBGCRYPT if BR2_i386 || BR2_x86_64
+	# For rdrand & darn ligcrypt is required and it's not obvious to users
+	select BR2_PACKAGE_LIBGCRYPT if BR2_i386 || BR2_x86_64 || BR2_powerpc64le
 	select BR2_PACKAGE_LIBSYSFS
 	help
 	  Daemon to use hardware random number generators.
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/rng-tools: powerpc64le requires libgcrypt

Quoted 11 lines · On Sun, 27 Oct 2019 01:33:46 -0500 Matt Weber…

This patch adds the libgcrypt dependency for rngd_darn support when building for the specific BR2_powerpc64le archtecture. This entropy source is only enabled when powerpc64le is selected.

Fixes:
http://autobuild.buildroot.net/results/a41/a412ccef864e8279dcc917e106b5f7b515ed95da/

---
 package/rng-tools/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com