All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6
@ 2013-07-26 16:43 Otavio Salvador
  2013-07-26 16:48 ` Otavio Salvador
  2013-07-26 18:08 ` Eric Nelson
  0 siblings, 2 replies; 3+ messages in thread
From: Otavio Salvador @ 2013-07-26 16:43 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

There're examples, provided by Freescale, which links wrongly against
the .so file (instead of the .so.1 one as expected) and this cannot be
fixed without source code.

We workaround this for now deploying the libEGL.so file inside
libegl-mx6 binary.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 70a9b2d..d897cec 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -136,8 +136,10 @@ FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}"
 FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
 FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}"
 
-FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS}"
-FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV} ${libdir}/pkgconfig/egl.pc"
+# libEGL.so is used by some demo apps from Freescale
+INSANE_SKIP_libegl-mx6 += "dev-so"
+FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} "
+FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
 FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
 
 FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS}"
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6
  2013-07-26 16:43 [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6 Otavio Salvador
@ 2013-07-26 16:48 ` Otavio Salvador
  2013-07-26 18:08 ` Eric Nelson
  1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2013-07-26 16:48 UTC (permalink / raw)
  To: meta-freescale Mailing List, Eric Nelson, Philip Craig; +Cc: Otavio Salvador

On Fri, Jul 26, 2013 at 1:43 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> There're examples, provided by Freescale, which links wrongly against
> the .so file (instead of the .so.1 one as expected) and this cannot be
> fixed without source code.
>
> We workaround this for now deploying the libEGL.so file inside
> libegl-mx6 binary.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Eric and Philip,

I think this solves the issue. Please give it a try and I can push it.

--
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6
  2013-07-26 16:43 [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6 Otavio Salvador
  2013-07-26 16:48 ` Otavio Salvador
@ 2013-07-26 18:08 ` Eric Nelson
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Nelson @ 2013-07-26 18:08 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On 07/26/2013 09:43 AM, Otavio Salvador wrote:
> There're examples, provided by Freescale, which links wrongly against
> the .so file (instead of the .so.1 one as expected) and this cannot be
> fixed without source code.
>
> We workaround this for now deploying the libEGL.so file inside
> libegl-mx6 binary.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>   recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> index 70a9b2d..d897cec 100644
> --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> @@ -136,8 +136,10 @@ FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}"
>   FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
>   FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}"
>
> -FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS}"
> -FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV} ${libdir}/pkgconfig/egl.pc"
> +# libEGL.so is used by some demo apps from Freescale
> +INSANE_SKIP_libegl-mx6 += "dev-so"
> +FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} "
> +FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
>   FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
>
>   FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS}"
>

Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-26 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 16:43 [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6 Otavio Salvador
2013-07-26 16:48 ` Otavio Salvador
2013-07-26 18:08 ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.