Skip to contentSkip to conversation

can-utils: drop NPTL dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Sep 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 can-utils: drop NPTL dependency

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

---
 package/can-utils/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/can-utils/Config.in +2 -3
index 1800eca042..da56378866 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 can-utils: drop NPTL dependency

Hello,

Quoted 9 lines · Fabrice Fontaine

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

---
 package/can-utils/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com