mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user