> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Ross Burton
> Sent: Sunday, February 03, 2013 6:35 PM
> To: Marcin Juszkiewicz
> Cc: [email protected]
> Subject: Re: [OE-core] OpenGL as a DISTRO_FEATURE
> 
> On Sunday, 3 February 2013 at 21:33, Marcin Juszkiewicz wrote:
> > As they are different architectures you can try this:
> >
> > DISTRO_FEATURES_wm8950 = "here copy your default DISTRO_FEATURES but
> > skip opengl"
> >
> > Replace wm8950 with MACHINE name. Ugly solution but should work.
> That means that Qt won't be built with GLES support.
> 
> The best approach is to probe the hardware/libraries at runtime and
> adapt - i.e. if only GLES libraries are available use those, but a lot
> of software doesn't support that or simple probing isn't sufficient
> (Intel Pine Trail supports both but GL is best, Cedar Trail supports
> both but GL is terrible).
In my instance I know what hardware I am targeting at build time so I can make 
the choice there.  That is why I think MACHINE_FEATURES might be more 
appropriate.

That being said a grep through a few layers shows that this might not be a low 
impact change so Marcin's solution while not ideal might be the least amount 
the churn.



_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to