[meta-freescale] [meta-fsl-arm][PATCH 2/2] gpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6sl

Otavio Salvador otavio at ossystems.com.br
Thu Sep 4 18:08:57 PDT 2014


The ab83159 (gpu-viv-bin-mx6q: Include sololite changes to remove 3D
libraries.) reworked the libraries available for mx6sl case however
the symbolic link was wrong. It points to the work instalation directory.

This resulted in:

,----
| ibOpenVG.2d.so
| ibOpenVG.so -> .../tmp/work/.../image/usr/lib/libOpenVG.2d.so
`----

While the expected is:

,----
| libOpenVG.2d.so
| libOpenVG.so -> libOpenVG.2d.so
`----

This patch fixes is to use a relative link, fixing OpenVG based
application builds from a clean tmp directory or using rm_work class.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 4fb9172..0120207 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
@@ -205,7 +205,7 @@ do_install () {
                ${D}/opt/viv_samples/vdk \
                ${D}/opt/viv_samples/es20 ${D}/opt/viv_samples/cl11
 
-        ln -sf ${D}${libdir}/libOpenVG_355.so ${D}${libdir}/libOpenVG.so
+        ln -sf libOpenVG_355.so ${D}${libdir}/libOpenVG.so
     fi
 
     find ${D}${libdir} -type f -exec chmod 644 {} \;
-- 
2.1.0



More information about the meta-freescale mailing list