On Wed, Jan 30, 2013 at 11:51 PM, Philipp Wagner <li...@philipp-wagner.com>wrote:
> From: Philipp Wagner <m...@philipp-wagner.com> > > Depending on the used calling convention use the hardfp or > the softfp binary graphics libraries. > > Signed-off-by: Philipp Wagner <m...@philipp-wagner.com> > --- > conf/machine/include/rpi-default-providers.inc | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/conf/machine/include/rpi-default-providers.inc > b/conf/machine/include/rpi-default-providers.inc > index ce963b3..83292df 100644 > --- a/conf/machine/include/rpi-default-providers.inc > +++ b/conf/machine/include/rpi-default-providers.inc > @@ -2,7 +2,11 @@ > > PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi" > PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" > -PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp" > -PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp" > -PREFERRED_PROVIDER_virtual/libgl ?= "vc-graphics-hardfp" > PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-raspberrypi" > + > +# The graphics libraries are closed source and provided as binaries with > either > +# hardfp and softfp calling conventions. We need to choose the one that > fits > +# in with the rest of the system. > +PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("TUNE_FEATURES", > "callconvention-hard", "vc-graphics-hardfp", "vc-graphics", d)}" > +PREFERRED_PROVIDER_virtual/libgles2 ?= > "${@bb.utils.contains("TUNE_FEATURES", "callconvention-hard", > "vc-graphics-hardfp", "vc-graphics", d)}" > +PREFERRED_PROVIDER_virtual/libgl ?= > "${@bb.utils.contains("TUNE_FEATURES", "callconvention-hard", > "vc-graphics-hardfp", "vc-graphics", d)}" > I like this change but I think the best way would be to switch to userland. So we can compile our own libraries. I sent some patches so please give them a try. -- *Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto