Config.in 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. config BR2_PACKAGE_STRACE
  2. bool "strace"
  3. # needs at least kernel headers 4.0 on nios2
  4. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2
  5. # needs at least kernel headers 5.0 on xtensa
  6. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa
  7. # needs at least kernel headers 5.0 on musl aarch64
  8. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || \
  9. !(BR2_aarch64 || BR2_aarch64_be) || \
  10. !BR2_TOOLCHAIN_USES_MUSL
  11. depends on !BR2_RISCV_32
  12. help
  13. A useful diagnostic, instructional, and debugging tool.
  14. Allows you to track what system calls a program makes
  15. while it is running.
  16. If you want 'strace -k' to work, make sure to enable the
  17. 'libunwind' package.
  18. https://strace.io
  19. comment "strace needs a toolchain w/ headers >= 4.0 on nios2"
  20. depends on BR2_nios2
  21. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  22. comment "strace needs a toolchain w/ headers >= 5.0 on xtensa"
  23. depends on BR2_xtensa
  24. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  25. comment "strace needs a musl toolchain w/ headers >= 5.0 on aarch64"
  26. depends on BR2_aarch64 || BR2_aarch64_be
  27. depends on BR2_TOOLCHAIN_USES_MUSL
  28. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0