* [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
@ 2013-06-20 20:42 Daiane Angolini
2013-06-20 20:50 ` Otavio Salvador
2013-06-21 8:27 ` Javier Viguera
0 siblings, 2 replies; 9+ messages in thread
From: Daiane Angolini @ 2013-06-20 20:42 UTC (permalink / raw)
To: meta-freescale
Create the .so file needed by -dev package.
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
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 \
--
1.7.10.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-20 20:42 [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link Daiane Angolini
@ 2013-06-20 20:50 ` Otavio Salvador
2013-06-21 8:27 ` Javier Viguera
1 sibling, 0 replies; 9+ messages in thread
From: Otavio Salvador @ 2013-06-20 20:50 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org
On Thu, Jun 20, 2013 at 5:42 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>
Applied to dylan-next.
--
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-20 20:42 [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link Daiane Angolini
2013-06-20 20:50 ` Otavio Salvador
@ 2013-06-21 8:27 ` Javier Viguera
2013-06-21 9:08 ` Andrei Gherzan
` (2 more replies)
1 sibling, 3 replies; 9+ messages in thread
From: Javier Viguera @ 2013-06-21 8:27 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hi Daiane,
On 20/06/13 22:42, Daiane Angolini wrote:
> + ln -sf ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
> + ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
Shouldn't this symbolic links be relative?
Something like:
ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
ln -sf lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
The rest of symbolic links under '/usr/lib' or '/lib' are relative.
-
Javier Viguera
Software Engineer
Digi International® Spain S.A.U.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-21 8:27 ` Javier Viguera
@ 2013-06-21 9:08 ` Andrei Gherzan
2013-06-21 11:38 ` Otavio Salvador
2013-06-21 11:47 ` Angolini Daiane-B19406
2 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2013-06-21 9:08 UTC (permalink / raw)
To: Javier Viguera; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
On Fri, Jun 21, 2013 at 11:27 AM, Javier Viguera <javier.viguera@digi.com>wrote:
> Hi Daiane,
>
> On 20/06/13 22:42, Daiane Angolini wrote:
>
>> + ln -sf ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
>> + ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
>>
>
> Shouldn't this symbolic links be relative?
>
> Something like:
>
> ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
> ln -sf lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
>
> The rest of symbolic links under '/usr/lib' or '/lib' are relative.
>
I understand the idea of consistency but this doesn't make a difference -
functional I mean.
--
*Andrei Gherzan*
m: +40.744.478.414 | f: +40.31.816.28.12
[-- Attachment #2: Type: text/html, Size: 1613 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-21 8:27 ` Javier Viguera
2013-06-21 9:08 ` Andrei Gherzan
@ 2013-06-21 11:38 ` Otavio Salvador
2013-06-21 11:51 ` Angolini Daiane-B19406
2013-06-21 11:47 ` Angolini Daiane-B19406
2 siblings, 1 reply; 9+ messages in thread
From: Otavio Salvador @ 2013-06-21 11:38 UTC (permalink / raw)
To: Javier Viguera; +Cc: meta-freescale@yoctoproject.org
On Fri, Jun 21, 2013 at 5:27 AM, Javier Viguera <javier.viguera@digi.com> wrote:
> Hi Daiane,
>
>
> On 20/06/13 22:42, Daiane Angolini wrote:
>>
>> + ln -sf ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
>> + ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
>
>
> Shouldn't this symbolic links be relative?
>
> Something like:
>
> ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
> ln -sf lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
>
> The rest of symbolic links under '/usr/lib' or '/lib' are relative.
It has no real impact but it does seem to be the best alternative for
consistency.
Daiane, can you update both patches?
Regards,
--
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-21 8:27 ` Javier Viguera
2013-06-21 9:08 ` Andrei Gherzan
2013-06-21 11:38 ` Otavio Salvador
@ 2013-06-21 11:47 ` Angolini Daiane-B19406
2013-06-21 11:54 ` Javier Viguera
2 siblings, 1 reply; 9+ messages in thread
From: Angolini Daiane-B19406 @ 2013-06-21 11:47 UTC (permalink / raw)
To: Javier Viguera, meta-freescale@yoctoproject.org
They are right on my rootfs on target.
Do you think it makes any difference?
Daiane
-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Javier Viguera
Sent: Friday, June 21, 2013 5:28 AM
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
Hi Daiane,
On 20/06/13 22:42, Daiane Angolini wrote:
> + ln -sf ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
> + ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
Shouldn't this symbolic links be relative?
Something like:
ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so ln -sf lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
The rest of symbolic links under '/usr/lib' or '/lib' are relative.
-
Javier Viguera
Software Engineer
Digi International(r) Spain S.A.U.
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-21 11:38 ` Otavio Salvador
@ 2013-06-21 11:51 ` Angolini Daiane-B19406
0 siblings, 0 replies; 9+ messages in thread
From: Angolini Daiane-B19406 @ 2013-06-21 11:51 UTC (permalink / raw)
To: Otavio Salvador, Javier Viguera; +Cc: meta-freescale@yoctoproject.org
Sure (sorry for the top posting, I only have outlook and it sucks [or I don´t know how to make it rules])
I will update the patches.
Thanks in advance,
Daiane
-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Otavio Salvador
Sent: Friday, June 21, 2013 8:38 AM
To: Javier Viguera
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
On Fri, Jun 21, 2013 at 5:27 AM, Javier Viguera <javier.viguera@digi.com> wrote:
> Hi Daiane,
>
>
> On 20/06/13 22:42, Daiane Angolini wrote:
>>
>> + ln -sf ${libdir}/lib2dz160.so.0 ${D}${libdir}/lib2dz160.so
>> + ln -sf ${libdir}/lib2dz430.so.0 ${D}${libdir}/lib2dz430.so
>
>
> Shouldn't this symbolic links be relative?
>
> Something like:
>
> ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so ln -sf lib2dz430.so.0
> ${D}${libdir}/lib2dz430.so
>
> The rest of symbolic links under '/usr/lib' or '/lib' are relative.
It has no real impact but it does seem to be the best alternative for consistency.
Daiane, can you update both patches?
Regards,
--
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
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-21 11:47 ` Angolini Daiane-B19406
@ 2013-06-21 11:54 ` Javier Viguera
2013-06-21 11:59 ` Angolini Daiane-B19406
0 siblings, 1 reply; 9+ messages in thread
From: Javier Viguera @ 2013-06-21 11:54 UTC (permalink / raw)
To: Angolini Daiane-B19406; +Cc: meta-freescale@yoctoproject.org
Hi Daiane,
On 21/06/13 13:47, Angolini Daiane-B19406 wrote:
> They are right on my rootfs on target.
>
> Do you think it makes any difference?
There is no functional difference. It will work just the same.
It's a bit of style. See the difference doing one link relative (z430)
and the other absolute (z160):
root@ccimx53js:/usr/lib# ls -l lib2dz*
23 Jun 21 2013 lib2dz160.so -> /usr/lib/lib2dz160.so.0
14 Jun 20 17:28 lib2dz160.so.0 -> lib2dz160.so.1
222959 Sep 25 2011 lib2dz160.so.1
14 Jun 21 2013 lib2dz430.so -> lib2dz430.so.0
14 Jun 20 17:28 lib2dz430.so.0 -> lib2dz430.so.1
285066 Sep 25 2011 lib2dz430.so.1
Normally the libs do relative symlinks. You can verify it in your
development machine.
--
Regards,
Javier Viguera
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
2013-06-21 11:54 ` Javier Viguera
@ 2013-06-21 11:59 ` Angolini Daiane-B19406
0 siblings, 0 replies; 9+ messages in thread
From: Angolini Daiane-B19406 @ 2013-06-21 11:59 UTC (permalink / raw)
To: Javier Viguera; +Cc: meta-freescale@yoctoproject.org
Thanks a lot
=D
Daiane
-----Original Message-----
From: Javier Viguera [mailto:javier.viguera@digi.com]
Sent: Friday, June 21, 2013 8:54 AM
To: Angolini Daiane-B19406
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link
Hi Daiane,
On 21/06/13 13:47, Angolini Daiane-B19406 wrote:
> They are right on my rootfs on target.
>
> Do you think it makes any difference?
There is no functional difference. It will work just the same.
It's a bit of style. See the difference doing one link relative (z430) and the other absolute (z160):
root@ccimx53js:/usr/lib# ls -l lib2dz*
23 Jun 21 2013 lib2dz160.so -> /usr/lib/lib2dz160.so.0
14 Jun 20 17:28 lib2dz160.so.0 -> lib2dz160.so.1
222959 Sep 25 2011 lib2dz160.so.1
14 Jun 21 2013 lib2dz430.so -> lib2dz430.so.0
14 Jun 20 17:28 lib2dz430.so.0 -> lib2dz430.so.1
285066 Sep 25 2011 lib2dz430.so.1
Normally the libs do relative symlinks. You can verify it in your development machine.
--
Regards,
Javier Viguera
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-06-21 12:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20 20:42 [meta-fsl-arm for dylan][PATCH] amd-gpu-x11-bin-mx51: install dev symbolic link Daiane Angolini
2013-06-20 20:50 ` Otavio Salvador
2013-06-21 8:27 ` Javier Viguera
2013-06-21 9:08 ` Andrei Gherzan
2013-06-21 11:38 ` Otavio Salvador
2013-06-21 11:51 ` Angolini Daiane-B19406
2013-06-21 11:47 ` Angolini Daiane-B19406
2013-06-21 11:54 ` Javier Viguera
2013-06-21 11:59 ` Angolini Daiane-B19406
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.