package/autofs: requires NPTL
authorRomain Naour <romain.naour@gmail.com>
Sat, 16 Jul 2016 14:57:39 +0000 (16:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Jul 2016 18:57:02 +0000 (20:57 +0200)
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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/autofs/Config.in

index dbe667442f63f5951cabc64d8c9af12e75100935..8e08357a4e4a985a6519e4614497fd41ceb76ab7 100644 (file)
@@ -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