[Buildroot] [PATCH 1/2] nilfs-utils: need NPTL threads

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jan 6 14:35:18 UTC 2018


Hello,

On Thu,  4 Jan 2018 11:10:51 +0100, Kurt Van Dijck wrote:
> nilfs-utils use clock_nanosleep(), which comes with NPTL threads
> 
> Signed-off-by: Kurt Van Dijck <dev.kurt at vandijck-laurijssen.be>
> ---
>  package/nilfs-utils/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/nilfs-utils/Config.in b/package/nilfs-utils/Config.in
> index 0c6b7a0..9dda27c 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

You forgot to update the Config.in comment accordingly. Also, I've
updated the commit log to summarize why we keep both the threads *and*
NPTL dependencies, even though it might look redundant.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list