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