package/kmemd: needs headers >= 5.14
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>
This commit is contained in:
parent
2b3f0153bb
commit
cd317f701b
@ -4,7 +4,7 @@ config BR2_PACKAGE_KMEMD
|
||||
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_4_13 # 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
|
||||
@ -12,7 +12,7 @@ config BR2_PACKAGE_KMEMD
|
||||
|
||||
https://github.com/wkz/kmemd
|
||||
|
||||
comment "kmemd needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13"
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user