Utilize preset variable KERNEL_PACKAGE_NAME
to ensure uninformative with builds if
KERNEL_PACKAGE_NAME variable were to change.

Signed-off-by: Vincent Davis Jr <[email protected]>
---
 meta/recipes-extended/ltp/ltp_20260529.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/ltp/ltp_20260529.bb 
b/meta/recipes-extended/ltp/ltp_20260529.bb
index e863503200..0842181ee8 100644
--- a/meta/recipes-extended/ltp/ltp_20260529.bb
+++ b/meta/recipes-extended/ltp/ltp_20260529.bb
@@ -32,7 +32,7 @@ SRC_URI = 
"git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht
            
file://0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch \
           "
 
-inherit autotools-brokensep pkgconfig
+inherit autotools-brokensep pkgconfig kernel-vars
 
 # Version 20220527 added KVM test infrastructure which currently fails to 
build with lld due to
 # SORT_NONE in linker script which isn't supported by gold:
@@ -121,7 +121,7 @@ RDEPENDS:${PN} = "\
     tar \
 "
 
-RRECOMMENDS:${PN} += "kernel-module-loop"
+RRECOMMENDS:${PN} += "${KERNEL_PACKAGE_NAME}-module-loop"
 
 FILES:${PN} += "${prefix}/* ${prefix}/runtest/* ${prefix}/scenario_groups/* 
${prefix}/testcases/bin/* ${prefix}/testcases/bin/*/bin/* 
${prefix}/testscripts/* ${prefix}/testcases/open_posix_testsuite/* 
${prefix}/testcases/open_posix_testsuite/conformance/* 
${prefix}/testcases/open_posix_testsuite/Documentation/* 
${prefix}/testcases/open_posix_testsuite/functional/* 
${prefix}/testcases/open_posix_testsuite/include/* 
${prefix}/testcases/open_posix_testsuite/scripts/* 
${prefix}/testcases/open_posix_testsuite/stress/* 
${prefix}/testcases/open_posix_testsuite/tools/* 
${prefix}/testcases/data/nm01/lib.a ${prefix}/lib/libmem.a"
 
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240699): 
https://lists.openembedded.org/g/openembedded-core/message/240699
Mute This Topic: https://lists.openembedded.org/mt/120217991/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to