kernel-selftest: Drop obsolete dependency on linux-kernel-base

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-08-01 14:30:16 -07:00
parent 058e0c139e
commit 4fc7c36afb
@@ -45,7 +45,7 @@ PACKAGECONFIG[mm] = ",,libcap liburing numactl, libgcc bash"
do_patch[depends] += "virtual/kernel:do_shared_workdir"
do_compile[depends] += "virtual/kernel:do_install"
inherit linux-kernel-base module-base kernel-arch ptest siteinfo
inherit module-base kernel-arch ptest siteinfo
DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"
@@ -169,12 +169,12 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t
sed -i -e '/mrecord-mcount/d' ${S}/Makefile
sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile
sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.*
# Add kernel headers to CFLAGS to fix PTP selftest compilation
# Required for PTP_MASK_CLEAR_ALL and PTP_MASK_EN_SINGLE definitions
# introduced in kernel v6.7 (commit c5a445b)
export CFLAGS="${CFLAGS} -I${STAGING_KERNEL_BUILDDIR}/usr/include"
oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}"
}