Config.in 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. config 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. All tools are simple C programs with no dependencies, except
  15. the hwlatdetect utility, which is a Python script and
  16. therefore requires the Python interpreter. It will only be
  17. installed if a Python interpreter has been selected in the
  18. Buildroot configuration.
  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. https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests
  25. comment "rt-tests may not work on MIPS with an external uClibc toolchain"
  26. depends on BR2_PACKAGE_RT_TESTS
  27. depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  28. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  29. comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library"
  30. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  31. depends on BR2_TOOLCHAIN_HAS_ATOMIC
  32. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
  33. || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  34. depends on BR2_USE_MMU