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

login
register
mail settings
Submitter Daiane Angolini
Date June 24, 2013, 6:58 p.m.
Message ID <1372100323-5189-1-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/52301/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

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

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

 recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Daiane Angolini - June 24, 2013, 7 p.m.
On 06/24/2013 03:58 PM, Daiane Angolini wrote:
> Create the .so file needed by -dev package.
>

Please, ignore this v2 I just realized i sent the wrong file.

I'm going to send the right one as v3

Daiane


> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
> ---
> changes since v1:
> -symbolic link are now relative
>
>   recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb |    4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> 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..fd972ed 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 ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
> +    ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
>
>       # FIXME: Remove unkown files
>       rm -r ${D}${libdir}/libcsi.a \
>

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..fd972ed 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 ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
+    ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
 
     # FIXME: Remove unkown files
     rm -r ${D}${libdir}/libcsi.a \