[OE-core] [PATCH] virglrenderer: requires distro feature opengl

Alexander Kanavin alex.kanavin at gmail.com
Wed Mar 27 17:12:26 UTC 2019


On Tue, 12 Mar 2019 at 23:35, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> > On Tue, 12 Mar 2019 at 01:23, <kai.kang at windriver.com> wrote:
> > > +REQUIRED_DISTRO_FEATURES = "opengl"
> > > +REQUIRED_DISTRO_FEATURES_class-native = ""
> > > +REQUIRED_DISTRO_FEATURES_class-nativesdk = ""
> >
> > I suspect you can drop the native/nativesdk overrides here, as
> > DISTRO_FEATURES is overridden in those builds.
>
> I suspect it is needed since we clear DISTRO_FEATURES to a small subset
> for native/nativesdk and hence opengl won't be present. If its not
> present, virglrenderer-native will then not build.
>
> We may need to rethink how we're using the native distro features.
> Maybe when you add virglrender-native, you need to add opengl to the
> native distro features? We could change qemu config based upon that?
>
> It would be good to confirm my above guess is correct...

I have reworked the patchset that enables virgl in qemu to make that
conditional to opengl in DISTRO_FEATURES, which also allowed the
suggested cleanups. Will post that in a moment.

Alex


More information about the Openembedded-core mailing list