package/rng-tools: needs NPTL
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 30 Oct 2019 05:58:50 +0000 (06:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 4 Nov 2019 20:48:26 +0000 (21:48 +0100)
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>
package/rng-tools/Config.in

index 7218aeac97016570bb9233034ddb30f6a9c40a7e..71514260e6827ecc189bd4e04f67cabffc477f7f 100644 (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