From 9f2ced651ba50c72d988b635cd883fd3f291b608 Mon Sep 17 00:00:00 2001 From: Kurt Van Dijck Date: Thu, 4 Jan 2018 11:10:51 +0100 Subject: [PATCH] nilfs-utils: need NPTL threads nilfs-utils use clock_nanosleep(), which comes with NPTL threads. We keep the dependency on threads, because sem_open() is really related to thread support. The dependency on NPTL for clock_nanosleep() might be lifted in the future, as it seems to be a bug in uClibc-ng. Signed-off-by: Kurt Van Dijck [Thomas: update Config.in comment.] Signed-off-by: Thomas Petazzoni --- package/nilfs-utils/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/nilfs-utils/Config.in b/package/nilfs-utils/Config.in index 0c6b7a0ce8..e49cab369b 100644 --- a/package/nilfs-utils/Config.in +++ b/package/nilfs-utils/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_NILFS_UTILS bool "nilfs-utils" depends on BR2_TOOLCHAIN_HAS_THREADS # sem_open() + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() depends on BR2_USE_MMU # util-linux libmount, libblkid select BR2_PACKAGE_UTIL_LINUX_LIBUUID select BR2_PACKAGE_UTIL_LINUX_LIBBLKID @@ -11,5 +12,6 @@ config BR2_PACKAGE_NILFS_UTILS https://github.com/nilfs-dev/nilfs-utils -comment "nilfs-utils needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "nilfs-utils needs a toolchain w/ threads, NPTL" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL -- 2.30.2