ti-img-rogue-umlibs: use rrecommends for components
PATCH 1/1 ti-img-rogue-umlibs: use rrecommends for components
From: Randolph Sapp <[email protected]>
Use RRECOMMENDS for components. Apparently I made an resolvable dependency cycle that Yocto silently clipped. My best guess at the culprit was: mesa-megadriver (RR) -> rogue-km (RR) -> rogue-um (RD) -> libgles1-rogue (RD) -> mesa-megadriver
That killed the ti-img-rogue-umlibs recipe during do_rootfs. The rogue GLES libs do depend on mesa-megadriver at runtime but I guess the UM components should only really recommend the rogue GLES components be present at runtime to make the cycle resolvable by opkg.
Fixes:1705f6d3 (ti-img-rogue-umlibs: make all components optional, 2023-06-21)
Signed-off-by Randolph Sapp <[email protected]>
--- .../ti-img-rogue-umlibs_23.1.6404501.bb | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-)
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb +6 -11
@@ -33,9 +33,9 @@ PACKAGECONFIG ?= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \ " -PACKAGECONFIG[opengl] = ",,,${GLES_LIB_PACKAGES}" -PACKAGECONFIG[vulkan] = ",,,${VULKAN_LIB_PACKAGES}" -PACKAGECONFIG[opencl] = ",,,${OPENCL_LIB_PACKAGES},libopencl-rogue-tools" +PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}" +PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}" +PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}" def get_file_list(package_list_var, d): file_list = []
@@ -72,14 +72,9 @@ do_install:append() { fi } -GLES_LIB_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue" -GLES_PACKAGES = "${GLES_LIB_PACKAGES}" - -VULKAN_LIB_PACKAGES = "libvk-rogue" -VULKAN_PACKAGES = "${VULKAN_LIB_PACKAGES}" - -OPENCL_LIB_PACKAGES = "libopencl-rogue" -OPENCL_PACKAGES = "${OPENCL_LIB_PACKAGES} libopencl-rogue-tools" +GLES_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue" +VULKAN_PACKAGES = "libvk-rogue" +OPENCL_PACKAGES = "libopencl-rogue libopencl-rogue-tools" PACKAGES = " \ ${@bb.utils.contains('PACKAGECONFIG', 'opengl', d.getVar('GLES_PACKAGES'), '', d)} \
Signature · 1 line
2.41.0