Config.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. config 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()
  6. depends on !BR2_STATIC_LIBS # dlopen
  7. depends on !BR2_TOOLCHAIN_USES_MUSL # cyclictest
  8. depends on BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS
  9. select BR2_PACKAGE_NUMACTL
  10. help
  11. Set of utilities for testing the real-time behaviour of a
  12. Linux system.
  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. Note that this package requires a toolchain built with the
  19. NPTL implementation of the pthread API (this is always the
  20. case with glibc toolchains, but may not necessarily be the
  21. case with uClibc toolchains, since the thread implementation
  22. is configurable).
  23. https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests
  24. comment "rt-tests may not work on MIPS with an external uClibc toolchain"
  25. depends on BR2_PACKAGE_RT_TESTS
  26. depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  27. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  28. comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 3.14, dynamic library"
  29. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
  30. || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  31. depends on BR2_USE_MMU
  32. depends on BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS