rt-tests: disable for uclibc mips
authorRyan Barnett <ryanbarnett3@gmail.com>
Sat, 22 Feb 2014 23:07:28 +0000 (00:07 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 23 Feb 2014 15:46:51 +0000 (16:46 +0100)
rt-tests is not supported by a uclibc toolchain that does not implement
_pid in struct sigevent. Currently this is all MIPS architectures
in uclibc.

Fixes:
  http://autobuild.buildroot.net/results/074/074265602bec4aba6c82d1aee389045e8ad33d4b

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rt-tests/Config.in

index 58a88a8af1828ffa864135aded09d9739e1d120d..a8cede057770c2e0a2471a8c6d776cc0ef6b85d8 100644 (file)
@@ -5,6 +5,9 @@ config BR2_PACKAGE_RT_TESTS
        depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
        # no NPTL for these archs
        depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
+       # no _tid field in 'struct sigevent'
+       depends on !BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
+               BR2_mips64 || BR2_mips64el)
        help
          Set of utilities for testing the real-time behaviour of a
          Linux system.
@@ -27,3 +30,7 @@ comment "rt-tests needs a toolchain w/ threads"
        depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
        depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
        depends on !BR2_TOOLCHAIN_HAS_THREADS
+
+comment "rt-tests needs an (e)glibc toolchain"
+       depends on BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
+               BR2_mips64 || BR2_mips64el)