package/rng-tools: needs NPTL

Fixes:
http://autobuild.buildroot.net/results/e18/e1815b96997fb7def688e0aeb5d342fc64dbb64d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2019-10-30 06:58:50 +01:00 committed by Thomas Petazzoni
parent d89087b45b
commit 6ddad3ced9

View File

@ -1,7 +1,8 @@
config BR2_PACKAGE_RNG_TOOLS
bool "rng-tools"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS || !(BR2_i386 || BR2_x86_64 || BR2_powerpc64le) # libgcrypt
depends on BR2_TOOLCHAIN_HAS_THREADS
# pthread_setaffinity_np
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_JITTERENTROPY_LIBRARY
# For rdrand & darn ligcrypt is required and it's not obvious to users
@ -12,5 +13,5 @@ config BR2_PACKAGE_RNG_TOOLS
http://sourceforge.net/projects/gkernel/
comment "rng-tools needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
comment "rng-tools needs a toolchain w/ NPTL"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL