[Buildroot] [PATCH] iozone: depends on toolchain with NPTL support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 31 12:20:53 UTC 2016


Hello,

On Sun, 31 Jul 2016 14:05:45 +0200, Waldemar Brodkorb wrote:

> @@ -1,9 +1,12 @@
>  config BR2_PACKAGE_IOZONE
>  	bool "iozone"
>  	depends on BR2_USE_MMU # fork()

Since you have a dependency on BR2_USE_MMU here...

> -	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
>  	help
>  	  IOzone is a filesystem benchmark tool.
>  	  The benchmark generates and measures a variety of file operations
>  
>  	  http://www.iozone.org/
> +
> +comment "iozone needs a toolchain w/ NPTL"

it should be replicated here as well.

> +        depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL

I've fixed this, and also added another patch that removes dead code in
the .mk that was handling the !thread case.

Thanks,

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



More information about the buildroot mailing list