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
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