mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 17:32:06 +00:00
kernel-selftest: Drop obsolete dependency on linux-kernel-base
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user