@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "fc51ca7196f1a3f5fdf6ffd3864b50f4f9c02333be28be4eeca057e103
GITHUB_BASE_URI = "https://github.com/thom311/${BPN}/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/libnl(?P<pver>.+)"
-inherit autotools pkgconfig ptest github-releases
+inherit autotools pkgconfig ptest github-releases kernel-vars
FILES:${PN} = "${libdir}/libnl-3.so.* \
${libdir}/libnl.so.* \
@@ -54,7 +54,7 @@ RREPLACES:${PN}-genl = "libnl-genl2"
RCONFLICTS:${PN}-genl = "libnl-genl2"
DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'libcheck', '', d)}"
-RRECOMMENDS:${PN}-ptest += "kernel-module-dummy kernel-module-bonding"
+RRECOMMENDS:${PN}-ptest += "${KERNEL_PACKAGE_NAME}-module-dummy ${KERNEL_PACKAGE_NAME}-module-bonding"
RDEPENDS:${PN}-ptest += "iproute2-ip"
do_compile_ptest() {
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 <vince@underview.tech> --- meta/recipes-support/libnl/libnl_3.12.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)