Patchwork [meta-fsl-arm,for,dylan,v3] amd-gpu-x11-bin-mx51: install dev symbolic link

login
register
mail settings
Submitter Daiane Angolini
Date June 24, 2013, 7:08 p.m.
Message ID <1372100881-5319-1-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/52303/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Daiane Angolini - June 24, 2013, 7:08 p.m.
Create the .so file needed by -dev package.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
changes since v3
-symbolic link are really relative now

 recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Otavio Salvador - June 24, 2013, 8:37 p.m.
On Mon, Jun 24, 2013 at 4:08 PM, Daiane Angolini
<daiane.angolini@freescale.com> wrote:
> Create the .so file needed by -dev package.
>
> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>

Pushed to dylan.

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

Patch

diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
index 2dee47a..cc9c941 100644
--- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
+++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
@@ -4,7 +4,7 @@ 
 DESCRIPTION = "GPU driver and apps for x11 on mx51"
 LICENSE = "Proprietary"
 SECTION = "libs"
-PR = "r12"
+PR = "r13"
 
 # FIXME: Replace for correct AMD license
 LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802"
@@ -42,6 +42,8 @@  do_install () {
     # FIXME: Fix sonames of broken libraries
     mv ${D}${libdir}/lib2dz160.so ${D}${libdir}/lib2dz160.so.0
     mv ${D}${libdir}/lib2dz430.so ${D}${libdir}/lib2dz430.so.0
+    ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
+    ln -sf lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
 
     # FIXME: Remove unkown files
     rm -r ${D}${libdir}/libcsi.a \