[Buildroot] [git commit] package/autofs: requires NPTL

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 16 18:57:02 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=7a8921cb7cb0dd4deb51bda5903708b0219eb3fa
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

autofs uses pthread_condattr_setclock() which is available only with
toolchains with NPTL threads support.

Fixes:
http://autobuild.buildroot.net/results/152/152d917b0078aeb3715cd562cdecf7d0debf924b

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/autofs/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/autofs/Config.in b/package/autofs/Config.in
index dbe6674..8e08357 100644
--- a/package/autofs/Config.in
+++ b/package/autofs/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_AUTOFS
 	bool "autofs"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_USE_MMU
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	depends on !BR2_STATIC_LIBS # dlfcn
@@ -15,7 +15,7 @@ config BR2_PACKAGE_AUTOFS
 
 	  http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html
 
-comment "autofs needs a toolchain w/ threads, RPC, dynamic library"
+comment "autofs needs a toolchain w/ NPTL, RPC, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
 		!BR2_TOOLCHAIN_HAS_NATIVE_RPC


More information about the buildroot mailing list