package/autofs: requires NPTL

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>
This commit is contained in:
Romain Naour 2016-07-16 16:57:39 +02:00 committed by Thomas Petazzoni
parent d2c997e6b0
commit 7a8921cb7c

View 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