mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
kernel-selftest: drop libhugetlbfs
The support of libhugetlbfs was removed from mainline Linux a while ago, since v6.1 [1]. Since libhugetlbfs was the main reason to remove 'mm' selftests for some specific architectures, the respective operations should only remove bpf. Update the recipe to remove libhugetlbfs as a dependency of mm, and thus unblock this test category for some targets. [1] https://github.com/torvalds/linux/commit/6f83d6c74ea5a5b267be85206822da280cae110a Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
committed by
Khem Raj
parent
fcae7611c1
commit
a407a3e533
@@ -29,16 +29,13 @@ PACKAGECONFIG:remove:arm = "bpf mm"
|
||||
# host ptrace.h is used to compile BPF target but mips ptrace.h is needed
|
||||
# progs/loop1.c:21:9: error: incomplete definition of type 'struct user_pt_regs'
|
||||
# m = PT_REGS_RC(ctx);
|
||||
# mm tests need libhugetlbfs starting 5.8+ (https://lkml.org/lkml/2020/4/22/1654)
|
||||
PACKAGECONFIG:remove:qemumips = "bpf mm"
|
||||
|
||||
# riscv does not support libhugetlbfs yet
|
||||
PACKAGECONFIG:remove:riscv64 = "bpf mm"
|
||||
PACKAGECONFIG:remove:riscv32 = "bpf mm"
|
||||
PACKAGECONFIG:remove:qemumips = "bpf"
|
||||
PACKAGECONFIG:remove:riscv64 = "bpf"
|
||||
PACKAGECONFIG:remove:riscv32 = "bpf"
|
||||
|
||||
PACKAGECONFIG[bpf] = ",,elfutils elfutils-native libcap libcap-ng rsync-native python3-docutils-native,"
|
||||
PACKAGECONFIG[firmware] = ",,libcap, bash"
|
||||
PACKAGECONFIG[mm] = ",,libcap libhugetlbfs,libgcc bash"
|
||||
PACKAGECONFIG[mm] = ",,libcap, libgcc bash"
|
||||
|
||||
do_patch[depends] += "virtual/kernel:do_shared_workdir"
|
||||
do_compile[depends] += "virtual/kernel:do_install"
|
||||
|
||||
Reference in New Issue
Block a user