Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] can-utils: drop NPTL dependency
@ 2018-09-23 12:20 Fabrice Fontaine
  2018-09-23 14:24 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2018-09-23 12:20 UTC (permalink / raw)
  To: buildroot

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>
---
 package/can-utils/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/can-utils/Config.in b/package/can-utils/Config.in
index 1800eca042..da56378866 100644
--- a/package/can-utils/Config.in
+++ b/package/can-utils/Config.in
@@ -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
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-23 14:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-23 12:20 [Buildroot] [PATCH 1/1] can-utils: drop NPTL dependency Fabrice Fontaine
2018-09-23 14:24 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox