rt-tests: fix mips+uclibc check
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 23 Feb 2014 17:52:04 +0000 (18:52 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 23 Feb 2014 17:52:04 +0000 (18:52 +0100)
The conditional (suggested by me) introduced in 108952 (rt-tests: disable
for uclibc mips) isn't actually valid kconfig syntax, causing menuconfig to
error out.

Rewrite it to use proper syntax.

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

index ff4284e3693106e2564264b772404bfb3e0d2cf5..89406688e228ce19609112f2b29e86bae1e389d8 100644 (file)
@@ -6,8 +6,8 @@ config BR2_PACKAGE_RT_TESTS
        # no NPTL for these archs
        depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc && !BR2_bfin
        # no _tid field in 'struct sigevent'
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
-               BR2_mips64 || BR2_mips64el)
+       depends on !(BR2_TOOLCHAIN_USES_UCLIBC && (BR2_mips || BR2_mipsel || \
+               BR2_mips64 || BR2_mips64el))
        help
          Set of utilities for testing the real-time behaviour of a
          Linux system.
@@ -32,5 +32,5 @@ comment "rt-tests needs a toolchain w/ threads"
        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 || \
+       depends on BR2_TOOLCHAIN_USES_UCLIBC && (BR2_mips || BR2_mipsel || \
                BR2_mips64 || BR2_mips64el)