[Buildroot] [PATCH v2 2/2] package/ltp-testsuite: add dependency on BR2_TOOLCHAIN_HAS_SYNC_4

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 8 21:30:04 UTC 2017


Hello,

On Mon,  8 May 2017 23:18:33 +0200, Romain Naour wrote:

>  comment "ltp-testsuite needs a glibc or uClibc toolchain w/ NPTL"
>  	depends on !BR2_nios2
> +	depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_arc && !BR2_i386 \
> +		&& !BR2_powerpc && !BR2_powerpc64 && !BR2_powerpc64le \
> +		&& !BR2_x86_64

Wrong. You want the dependencies on the Config.in comment in the same
direction as for the main symbol. Or better: introduce a
BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS.

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


More information about the buildroot mailing list