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
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
signature.asc
Description: PGP signature
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
