21ef97df91
Commitsca1afcb217
(package/ply: needs headers >= 4.14) anddebe9eb13e
(package/ply: needs dynamic library) added restrictions on the availability of ply. The first forgot to add a comment, and the second mis-handled the dependency on the headers version. Indeed, we want the comment to show the requirement on the headers version (since that is not a hardware dependency). Fix this comment to include the headers version, and fix the condition accordingly. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Andreas Klinger <ak@it-klinger.de>
30 lines
862 B
Plaintext
30 lines
862 B
Plaintext
config BR2_PACKAGE_PLY_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_aarch64
|
|
default y if BR2_arm
|
|
default y if BR2_powerpc
|
|
default y if BR2_x86_64
|
|
|
|
comment "ply needs a toolchain w/ dynamic library, headers >= 4.14"
|
|
depends on BR2_PACKAGE_PLY_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 || BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_PLY
|
|
bool "ply"
|
|
depends on BR2_PACKAGE_PLY_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # BPF_JLT
|
|
depends on !BR2_STATIC_LIBS
|
|
help
|
|
ply is a light-weight dynamic tracer for Linux. By means of
|
|
using the BPF it can attach probes to the linux kernel
|
|
(e. g. kprobes).
|
|
|
|
It's a small alternative to LLVM based tracers for embedded
|
|
systems.
|
|
|
|
When using debugfs needs to be mounted on /sys/kernel/debug.
|
|
|
|
https://wkz.github.io/ply/
|