rt-tests: disable NPTL is missing
authorBaruch Siach <baruch@tkos.co.il>
Mon, 13 Jan 2014 06:56:27 +0000 (08:56 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 16 Jan 2014 08:20:18 +0000 (09:20 +0100)
Fixes
http://autobuild.buildroot.net/results/8aa/8aaa4b56a53241b7342fede568fbc72a7656cc38/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rt-tests/Config.in

index 36c111bd200c4cebbf60695f1c14249001d3c922..58a88a8af1828ffa864135aded09d9739e1d120d 100644 (file)
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_RT_TESTS
        bool "rt-tests"
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       # Too old uClibc, does not provide priority-inheritance
-       # mutexes
-       depends on !BR2_avr32
+       # priority-inheritance mutex needs NPTL
+       depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
+       # no NPTL for these archs
+       depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
        help
          Set of utilities for testing the real-time behaviour of a
          Linux system.
@@ -23,5 +24,6 @@ config BR2_PACKAGE_RT_TESTS
          http://rt.wiki.kernel.org
 
 comment "rt-tests needs a toolchain w/ threads"
-       depends on !BR2_avr32
+       depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
+       depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
        depends on !BR2_TOOLCHAIN_HAS_THREADS