Yoann Congal 721d4f901d
packagegroup-meta-oe: only add clinfo if DISTRO_FEATURES has opencl
Since commit f65ae714d885 ("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>
2025-09-26 15:31:36 -07:00
..