Some architectures are still stuck with non-NPTL toolchains. These are for example ARC, Blackfin, Xtensa etc. Still rt-tests are very good benchmarks and it would be good to enable use of at least selected (those that will be built) tests on those architectures. This change makes it possible to only build subset of tests that don't require NPTL calls. Following tests will be built with non-NPTL toolchain: * signaltest * ptsematest * sigwaittest * svsematest * sendme * hackbench Still it's required to have a toolchain with threads support because most of mentioned tests use threads. 03-fix-non-nptl-buil.patch was submitted upstream: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg762958.html so as soon as it is accepted with the next version bump this patch should be removed. [Thomas: fix the rt-tests.mk test on NPTL to use positive logic.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
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.
|
|
|
|
All tools are simple C programs with no dependencies, except
|
|
the hwlatdetect utility, which is a Python script and
|
|
therefore requires the Python interpreter. It will only be
|
|
installed if a Python interpreter has been selected in the
|
|
Buildroot configuration.
|
|
|
|
Note that this package requires a toolchain built with the
|
|
NPTL implementation of the pthread API (this is always the
|
|
case with glibc/eglibc toolchains, but may not necessarily
|
|
be the case with uClibc toolchains, since the thread
|
|
implementation is configurable).
|
|
|
|
http://rt.wiki.kernel.org
|
|
|
|
|
|
comment "rt-tests may not work on MIPS with an external uClibc toolchain"
|
|
depends on BR2_PACKAGE_RT_TESTS
|
|
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
|