[meta-freescale] [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Adding support to install Wayland GPU libs

Abhijit Potnis abhijitpotnis at gmail.com
Wed Jul 24 23:40:27 PDT 2013


Hello Otavio,

The present package config files of that of framebuffer are compatible with
the wl ones. Additional wayland package config files are provided
separately by the patch. Thanks for making me recheck the pc files.

But:
There was a gross mistake from my end in the gc_wayland_protocol file, I (
or was it freescale, from where I got them) had worngly copied the contents
of wayland-egl pc file into gc_wayland_protoco.pc. I have now corrected it
and have resubmitted the patch.

Regards,
Abhijit


On Wed, Jul 24, 2013 at 11:43 PM, Otavio Salvador
<otavio at ossystems.com.br>wrote:

> On Wed, Jul 24, 2013 at 2:57 PM, Abhijit Potnis <abhijitpotnis at gmail.com>
> wrote:
> > Hello Otavio,
> >
> > Ya, Its very confusing ! :-)
> > The following snippet from the .inc file
> >
> >     # We'll only have one backend here so we rename it to generic name
> >     # and avoid rework in other packages, when possible
> >     mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1
> >     ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so
> >     mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so
> >     mv ${D}${libdir}/libVIVANTE-${backend}.so ${D}${libdir}/libVIVANTE.so
> >
> >
> >
> > Renames all the -wl.so backend files to generic files. Like the
> libGAL-wl.so
> > is renamed to libGAL.so. Hence was my reason to say that the default .pc
> > files will do the job. The default .pc files are copied by this piece of
> > code in the present patch.
> >
> >
> > +        install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc
> > +        install -m 0644 ${WORKDIR}/glesv1_cm.pc
> > ${D}${libdir}/pkgconfig/glesv1_cm.pc
> > +        install -m 0644 ${WORKDIR}/glesv2.pc
> > ${D}${libdir}/pkgconfig/glesv2.pc
> >
> >
> > Rest of the files pertaining to back-ends ( -x11.so, -fb.so ) other that
> the
> > one selected in DISTRO_FEATURE will be cleaned accordingly in the
> > do_install() step and what end up in the image are the .so's without the
> > backend suffix.
> >
> > This is my understanding of the situation. I hope I haven't wrongly
> analyzed
> > this. Plz do let me know if I am wrong.
>
> Yes; your analysis seems correct; so this means the framebuffer .pc
> files are compatible with the wl ones? If that is the case, your patch
> seems correct.
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130725/ef3f7b5d/attachment.html>


More information about the meta-freescale mailing list