From: Otavio Salvador Date: Fri, 5 Sep 2014 00:05:06 +0000 (-0300) Subject: gpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6sl X-Git-Tag: 2.1~852 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=22931e38637724e0152110b5e94d3ae6155a6bf9;p=meta-freescale.git gpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6sl 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 --- diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index 4fb91728..01202070 100644 --- a/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/meta-fsl-arm/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 {} \;