]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6sl
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 5 Sep 2014 00:05:06 +0000 (21:05 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 5 Sep 2014 01:11:38 +0000 (22:11 -0300)
The ab83159 (gpu-viv-bin-mx6q: Include sololite changes to remove 3Dx
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_355.so
| ibOpenVG.so -> .../tmp/work/.../image/usr/lib/libOpenVG_355.so
`----

While the expected is:

,----
| libOpenVG_355.so
| libOpenVG.so -> libOpenVG_355.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@ossystems.com.br>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc

index 4fb91728242c96de865b8e585d34c787668f1641..01202070a88e35110d69979b677c0e9b342f3ea0 100644 (file)
@@ -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 {} \;