libgpiod: ptest: only rrecommend a single module that we need
PATCH 1/1 libgpiod: ptest: only rrecommend a single module that we need
We don't need to pull in all kernel modules. It's enough to just rrecommend gpio-mockup.
Signed-off-by Bartosz Golaszewski <[email protected]>
--- meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb +1 -1
@@ -48,7 +48,7 @@ FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so" FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '', d)}" -RRECOMMENDS_${PN}-ptest += "kernel-modules" +RRECOMMENDS_${PN}-ptest += "kernel-module-gpio-mockup" PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}"
Signature · 1 line
2.30.1