can-utils: drop NPTL dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 23 Sep 2018 12:20:58 +0000 (14:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 23 Sep 2018 14:24:17 +0000 (16:24 +0200)
The latest uClibc-ng version (1.0.30) provides clock_nanosleep() even
for non NPTL configurations.

Don't keep a dependency on threads as can-utils doesn't need it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/can-utils/Config.in

index 1800eca042dadd09d6d7e81995b59cc42a3c25e7..da5637886600fe8915aa04d9ed4f35b5b1cbee8a 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_CAN_UTILS
        bool "can-utils"
        depends on BR2_USE_MMU # fork()
-       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
        depends on !BR2_TOOLCHAIN_USES_MUSL # error()
        help
          SocketCAN is a set of open source CAN drivers and a
@@ -10,6 +9,6 @@ config BR2_PACKAGE_CAN_UTILS
 
          https://github.com/linux-can/can-utils
 
-comment "can-utils needs a glibc or uClibc toolchain w/ NPTL"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_TOOLCHAIN_USES_MUSL
+comment "can-utils needs a glibc or uClibc toolchain"
+       depends on BR2_TOOLCHAIN_USES_MUSL
        depends on BR2_USE_MMU