381616e77a
Currently, when we need to do a conditional on the type of C library used, we need to take into account the three toolchain backends. As we are going to add eglibc support to the Buildroot toolchain backend, it would become even uglier, so this patch introduces two new hidden options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that exist regardless of the toolchain backend. The entire Buildroot code base is converted to use those options. Note that we have intentionally created only one option (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are essentially the same, as far as Buildroot is concerned. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
25 lines
888 B
Plaintext
25 lines
888 B
Plaintext
comment "ltp-testsuite needs specific uClibc options, see help"
|
|
depends on BR2_PACKAGE_LTP_TESTSUITE
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC
|
|
|
|
config BR2_PACKAGE_LTP_TESTSUITE
|
|
bool "ltp-testsuite"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_INET_IPV6
|
|
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
help
|
|
The Linux Test Project provides a huge testsuite for Linux.
|
|
|
|
The LTP testsuite uses several functions that are considered
|
|
obsolete, such as sigset() and others. Therefore, the LTP
|
|
testsuite does not build with Buildroot's default uClibc
|
|
configuration, and options such as DO_XSI_MATH,
|
|
UCLIBC_HAS_OBSOLETE_BSD_SIGNAL and UCLIBC_SV4_DEPRECATED
|
|
are needed.
|
|
|
|
http://ltp.sourceforge.net/
|
|
|
|
comment "ltp-testsuite requires a toolchain with IPV6, RPC and thread support"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6 || \
|
|
!BR2_TOOLCHAIN_HAS_NATIVE_RPC
|