cd317f701b
kmemd unconditionally uses BPF_PSEUDO_MAP_IDX_VALUE which is only available since kernel 5.14 and387544bfa2
resulting in the following build failure since the addition of the package in commitb3f915c656
: kmem.c:36:17: error: 'BPF_PSEUDO_MAP_IDX_VALUE' undeclared here (not in a function); did you mean 'BPF_PSEUDO_MAP_VALUE'? 36 | BPF_PSEUDO_MAP_IDX_VALUE, 0, _idx \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/dcd7e6321d64746b8b867fa3f32095d1180a40fc Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
21 lines
772 B
Plaintext
21 lines
772 B
Plaintext
config BR2_PACKAGE_KMEMD
|
|
bool "kmemd"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libbpf
|
|
depends on BR2_USE_WCHAR # libbpf
|
|
depends on !BR2_STATIC_LIBS # libbpf
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libbpf
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # libbpf
|
|
select BR2_PACKAGE_LIBBPF
|
|
help
|
|
Explore a live Linux kernel's memory using GDB
|
|
|
|
https://github.com/wkz/kmemd
|
|
|
|
comment "kmemd needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 5.14"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \
|
|
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|