[OE-core] [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
Martin Jansa
martin.jansa at gmail.com
Tue Feb 25 12:46:27 UTC 2020
On Tue, Feb 25, 2020 at 02:38:07PM +0200, Adrian Bunk wrote:
> On Tue, Feb 25, 2020 at 12:32:55PM +0100, Alexander Kanavin wrote:
> > I would probably look into how
> > REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and
> > see if you can convince it to do the right thing, or maybe write a custom
> > re-implementation.
>
> I did already check meta/classes/features_check.bbclass, there is no
> obvious simple way for expressing more complicated dependencies.
Doesn't this do what you wanted?
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland opengl', 'x11', d)}"
>
> The low-effort way forward will be to keep opengl required even for x11,
> with a comment why.
>
> > Alex
>
> cu
> Adrian
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200225/c93e5749/attachment-0001.sig>
More information about the Openembedded-core
mailing list