xref: /OK3568_Linux_fs/buildroot/package/rt-tests/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_RT_TESTS
2	bool "rt-tests"
3	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
4	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # deadline scheduler syscall
5	depends on BR2_USE_MMU # fork(), numactl
6	depends on !BR2_STATIC_LIBS # dlopen
7	depends on !BR2_TOOLCHAIN_USES_MUSL # cyclictest
8	select BR2_PACKAGE_NUMACTL
9	help
10	  Set of utilities for testing the real-time behaviour of a
11	  Linux system.
12
13	  All tools are simple C programs with no dependencies, except
14	  the hwlatdetect utility, which is a Python script and
15	  therefore requires the Python interpreter. It will only be
16	  installed if a Python interpreter has been selected in the
17	  Buildroot configuration.
18
19	  Note that this package requires a toolchain built with the
20	  NPTL implementation of the pthread API (this is always the
21	  case with glibc toolchains, but may not necessarily be the
22	  case with uClibc toolchains, since the thread implementation
23	  is configurable).
24
25	  https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests
26
27comment "rt-tests may not work on MIPS with an external uClibc toolchain"
28	depends on BR2_PACKAGE_RT_TESTS
29	depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC
30	depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
31
32comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 3.14, dynamic library"
33	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
34		|| BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
35	depends on BR2_USE_MMU
36