packagegroup-meta-oe: only add clinfo if DISTRO_FEATURES has opencl

Since commit f65ae714d8 ("opencl: make use of the 'opencl'
DISTRO_FEATURE"), clinfo has a feature check on "opencl". Only add it to
its meta-oe package groups if the opencl is in DISTRO_FEATURES.

Fixes this warning (as seen on AB[0]):
stdio: WARNING: Nothing RPROVIDES 'clinfo' (but [...]/packagegroup-meta-oe.bb RDEPENDS on or otherwise requires it)

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/453/steps/12/logs/warnings

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yoann Congal
2025-09-26 23:07:19 +02:00
committed by Khem Raj
parent 6c32a7135b
commit 721d4f901d

View File

@@ -712,7 +712,7 @@ RDEPENDS:packagegroup-meta-oe-support = "\
c-ares \
ccid \
ckermit \
clinfo \
${@bb.utils.contains("DISTRO_FEATURES", "opencl", "clinfo", "", d)} \
cmark \
${@bb.utils.contains("DISTRO_FEATURES", "polkit gobject-introspection-data", "colord", "", d)} \
consolation \