rt-tests: requires thread support in the toolchain
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 Dec 2012 08:13:58 +0000 (08:13 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 9 Dec 2012 20:52:44 +0000 (21:52 +0100)
The rt-tests package extensively use threads, so this package should
only be available if the toolchain has thread support.

[Peter: add comment when not available]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/rt-tests/Config.in

index e6452668c27b83cba2c085346a4a0381f5bf2e90..5c8a782782fea5c4db033326998834a8c9e48d3a 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_RT_TESTS
        bool "rt-tests"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          Set of utilities for testing the real-time behaviour of a
          Linux system.
@@ -11,3 +12,6 @@ config BR2_PACKAGE_RT_TESTS
          Buildroot configuration.
 
          http://rt.wiki.kernel.org
+
+comment "rt-tests requires a toolchain with threads support"
+       !BR2_TOOLCHAIN_HAS_THREADS