[PATCH 1/3] libz160: avoid QA error No GNU_HASH in elf binary

1,421 views
Skip to first unread message

Adrian Alonso

unread,
May 20, 2012, 2:13:12 PM5/20/12
to meta-f...@googlegroups.com, Adrian Alonso
* Avoid QA error by skip the QA test for ldflags
As this is prebuilt library

Signed-off-by: Adrian Alonso <aalo...@gmail.com>
---
.../amd-gpu-x11-bin/libz160_11.09.01.bb | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb
index a02ae34..b2cfb2d 100644
--- a/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb
+++ b/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb
@@ -4,7 +4,7 @@
DESCRIPTION = "AMD libz160 gpu driver"
LICENSE = "MIT"
SECTION = "libs"
-PR = "r0"
+PR = "r1"

#todo: Replace for correct AMD license
LIC_FILES_CHKSUM = "file://usr/include/z160.h;endline=28;md5=65dd44cd769091092f38e34cd52cc271"
@@ -21,5 +21,9 @@ do_install () {
}

S = "${WORKDIR}/${PN}-bin-${PV}"
-FILES_${PN} = "${libdir}/*.so*"
-FILES_${PN}-dev = "${includedir}/*.h"
+
+# Avoid QA Issue: No GNU_HASH in the elf binary
+INSANE_SKIP_${PN} = "ldflags"
+INSANE_SKIP_${PN}-dev = "ldflags"
+FILES_${PN} = "${libdir}/*.so"
+FILES_${PN}-dev = "${includedir}"
--
1.7.7.6

Adrian Alonso

unread,
May 20, 2012, 2:13:13 PM5/20/12
to meta-f...@googlegroups.com, Adrian Alonso
* Avoid QA error by skip the QA test for ldflags
* PR increase

Signed-off-by: Adrian Alonso <aalo...@gmail.com>
---
.../amd-gpu-x11-bin-mx51_11.09.01.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

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 8bbe255..8ebaef3 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 = "MIT"
SECTION = "libs"
-PR = "r1"
+PR = "r2"

#todo: Replace for correct AMD license
LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802"
@@ -32,6 +32,10 @@ do_install () {
install -m 0755 ${S}/usr/bin/* ${D}${bindir}
}

+
+INSANE_SKIP_${PN} = "ldflags"
+INSANE_SKIP_${PN}-dev = "ldflags"
+INSANE_SKIP_${PN}-staticdev = "ldflags"
FILES_${PN} = "${bindir}/* ${libdir}/*.so*"
FILES_${PN}-dev = "\
${includedir}/EGL/*.h \
--
1.7.7.6

Adrian Alonso

unread,
May 20, 2012, 2:13:14 PM5/20/12
to meta-f...@googlegroups.com, Adrian Alonso
* Avoid QA error by skip the QA test for ldflags
* Increase PR

Signed-off-by: Adrian Alonso <aalo...@gmail.com>
---
.../xorg-driver/xf86-video-imxfb_11.09.01.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb
index dd54590..6671458 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f7bdc0c63080175d1667091b864cb12c"

inherit autotools pkgconfig

-PR = "r3"
+PR = "r4"
SRC_URI = "file://xserver-xorg-video-imx-${PV}.tar.gz \
file://xf86-video-imxfb-fix-m4-hardcodded-paths.patch"
SRC_URI[md5sum] = "d19148399b5d1c4dab90d0cc6f2c4789"
@@ -26,4 +26,6 @@ do_install_append () {
rm -f ${D}${libdir}/xorg/modules/drivers/*.la
}

+INSANE_SKIP_${PN} = "ldflags"
+INSANE_SKIP_${PN}-dbg = "ldflags"
RDEPENDS_${PN} += "amd-gpu-x11-bin-mx51"
--
1.7.7.6

Otavio Salvador

unread,
May 20, 2012, 2:47:16 PM5/20/12
to meta-f...@googlegroups.com, Adrian Alonso
On Sun, May 20, 2012 at 3:13 PM, Adrian Alonso <aalo...@gmail.com> wrote:
> * Avoid QA error by skip the QA test for ldflags
>  As this is prebuilt library
>
> Signed-off-by: Adrian Alonso <aalo...@gmail.com>

Acked-by: Otavio Salvador <ota...@ossystems.com.br>

--
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Otavio Salvador

unread,
May 20, 2012, 2:47:41 PM5/20/12
to meta-f...@googlegroups.com
On Sun, May 20, 2012 at 3:13 PM, Adrian Alonso <aalo...@gmail.com> wrote:
> * Avoid QA error by skip the QA test for ldflags
> * PR increase
>
> Signed-off-by: Adrian Alonso <aalo...@gmail.com>

Otavio Salvador

unread,
May 20, 2012, 2:48:36 PM5/20/12
to meta-f...@googlegroups.com
On Sun, May 20, 2012 at 3:13 PM, Adrian Alonso <aalo...@gmail.com> wrote:
> * Avoid QA error by skip the QA test for ldflags
> * Increase PR

Can this one be fixed? we could fix the build, no?
Reply all
Reply to author
Forward
0 new messages