On Wed, Jul 24, 2013 at 2:57 PM, Abhijit Potnis <[email protected]> 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 _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
