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