Skip to contentSkip to conversation

opencl: stop using "virtual/" in RPROVIDES and RDEPENDS

PATCH New Ryan Eatmon 1 participant 1 message May 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opencl: stop using "virtual/" in RPROVIDES and RDEPENDS

Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.

That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, using "virtual-" instead of "virtual/"
as already done in the glibc recipe.

This is inspired by a bug report on oe-core [1], and implemented in a patch to that repo [2].

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14538
[2] https://git.openembedded.org/openembedded-core/commit/meta/recipes-bsp/grub/grub-bootconf_1.00.bb?id=93ac180d8c389f16964bce8bd5538d9389e970e6

---
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-ti/ocl/opencl_git.bb +1 -1
index 7a3819c2..0bdbed7e 100644
@@ -40,7 +40,7 @@ DEPENDS = " virtual/libgl \
 DEPENDS:append:dra7xx = " ti-ipc virtual/kernel"
 
 RDEPENDS:${PN}-runtime += "bash ${MONITORS}"
-RDEPENDS:${PN}-dev += "virtual/libgl-dev"
+RDEPENDS:${PN}-dev += "virtual-libgl-dev"
 RDEPENDS:${PN} += "${PN}-runtime clocl bash"
 
 # Use main package to pull in full support
Signature · 1 line
2.17.1