[Buildroot] [PATCH v3 3/3] package/ltp-testsuite: add dependency on BR2_TOOLCHAIN_HAS_SYNC_4
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue May 9 21:21:47 UTC 2017
Hello,
On Tue, 9 May 2017 22:59:29 +0200, Romain Naour wrote:
> config BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
> bool
> # does not build on nios2, cachectl.h issue
> - default y if !BR2_nios2
> + # Needs __sync*() built-ins for 4-byte data, except on a few
> + # architectures for which a specific implementation is provided
> + # in ltp-testsuite
> + default y if !BR2_nios2 || (BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_arc \
> + || BR2_i386 || BR2_powerpc || BR2_powerpc64 \
> + || BR2_powerpc64le || BR2_x86_64)
This is very convoluted. What about:
depends on !BR2_nios2
default y if BR2_TOOLCHAIN_HAS_SYNC_4
default y if BR2_arc
default y if BR2_i386
default y if BR2_powerpc
default y if BR2_powepc64
default y if BR2_powerpc64le
default y if BR2_x86_64
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list