rt-tests: unavailable for static builds
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 22 Jan 2016 13:35:18 +0000 (10:35 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 1 Feb 2016 06:19:24 +0000 (07:19 +0100)
Fixes:
http://autobuild.buildroot.net/results/a6f/a6f6502e55fd68803f3ff8b4b76cce6601e101db/

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

index db5e0a04e36daec663f5c32c968aa3b77113a3ad..4c57c0f03730ab2dad048646987c01876f6f8575 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_RT_TESTS
        bool "rt-tests"
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_STATIC_LIBS # dlopen
        help
          Set of utilities for testing the real-time behaviour of a
          Linux system.
@@ -26,6 +27,6 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain"
        depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 
-comment "rt-tests needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "rt-tests needs a toolchain w/ threads, dynamic library"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
        depends on BR2_USE_MMU