Re: [yocto] [meta-raspberrypi][PATCH 1/2] Choose correct ABI version of graphics binaries
I will drop this patch as we use useland now as default provider. Thank you. On Tue, Feb 12, 2013 at 7:36 PM, Philipp Wagner wrote: > Am 09.02.2013 23:59, Andrei Gherzan wrote: > > 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. > > I agree that switching to userland is the best solution. I'll give it a > try in the next couple days and report back. > > Philipp > -- *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
Re: [yocto] [meta-raspberrypi][PATCH 1/2] Choose correct ABI version of graphics binaries
Am 09.02.2013 23:59, Andrei Gherzan wrote: > 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. I agree that switching to userland is the best solution. I'll give it a try in the next couple days and report back. Philipp ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberrypi][PATCH 1/2] Choose correct ABI version of graphics binaries
On Wed, Jan 30, 2013 at 11:51 PM, Philipp Wagner wrote: > From: Philipp Wagner > > Depending on the used calling convention use the hardfp or > the softfp binary graphics libraries. > > Signed-off-by: Philipp Wagner > --- > 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
[yocto] [meta-raspberrypi][PATCH 1/2] Choose correct ABI version of graphics binaries
From: Philipp Wagner Depending on the used calling convention use the hardfp or the softfp binary graphics libraries. Signed-off-by: Philipp Wagner --- 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)}" -- 1.7.9.5 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto