Patchwork [v2] valgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in RRECOMMENDS

login
register
mail settings
Submitter Zhenhua Luo
Date Dec. 29, 2011, 2:39 a.m.
Message ID <1325126350-1560-1-git-send-email-b19537@freescale.com>
Download mbox | patch
Permalink /patch/17763/
State Superseded
Headers show

Comments

Zhenhua Luo - Dec. 29, 2011, 2:39 a.m.
From: Zhenhua Luo <b19537@freescale.com>

    1. add powerpc into the compatible host list
    2. valgrind requires the non-stripped libraries of ${TCLIBC}, so add
       ${TCLIBC}-dbg into RRECOMMENDS_valgrind

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 meta/recipes-devtools/valgrind/valgrind_3.6.1.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Zhenhua Luo - Jan. 4, 2012, 3:28 a.m.
Since valgrind has been upgraded to 3.7.0, a new patch to add powerpc support will be submitted, please ignore this one. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: Luo Zhenhua-B19537
> Sent: Thursday, December 29, 2011 10:39 AM
> To: openembedded-core@lists.openembedded.org
> Cc: Luo Zhenhua-B19537
> Subject: [PATCH v2 oe-core] valgrind: add powerpc to the compatible host and add
> ${TCLIBC}-dbg in RRECOMMENDS
> 
> From: Zhenhua Luo <b19537@freescale.com>
> 
>     1. add powerpc into the compatible host list
>     2. valgrind requires the non-stripped libraries of ${TCLIBC}, so add
>        ${TCLIBC}-dbg into RRECOMMENDS_valgrind
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com>
> ---
>  meta/recipes-devtools/valgrind/valgrind_3.6.1.bb |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb b/meta/recipes-
> devtools/valgrind/valgrind_3.6.1.bb
> index 021caa8..2abe173 100644
> --- a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
> +++ b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=c46082167a314d785d012a244748d803 \
> 
> file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162a
> ec37e \
>                      file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
>  DEPENDS = "virtual/libx11"
> -PR = "r1"
> +PR = "r2"
> 
>  SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
>  	   file://fix_issue_caused_by_ccache.patch \ @@ -17,7 +17,7 @@ SRC_URI =
> "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \  SRC_URI[md5sum] =
> "2c3aa122498baecc9d69194057ca88f5"
>  SRC_URI[sha256sum] =
> "49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e"
> 
> -COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
> +COMPATIBLE_HOST = '(i.86|x86_64|powerpc|ppc|powerpc64|ppc64).*-linux'
> 
>  inherit autotools
> 
> @@ -26,3 +26,5 @@ EXTRA_OEMAKE = "-w"
>  PARALLEL_MAKE = ""
> 
>  FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
> +
> +RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
> --
> 1.7.0.4

Patch

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
index 021caa8..2abe173 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
@@ -7,7 +7,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
                     file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162aec37e \
                     file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
 DEPENDS = "virtual/libx11"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
 	   file://fix_issue_caused_by_ccache.patch \
@@ -17,7 +17,7 @@  SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "2c3aa122498baecc9d69194057ca88f5"
 SRC_URI[sha256sum] = "49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e"
 
-COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+COMPATIBLE_HOST = '(i.86|x86_64|powerpc|ppc|powerpc64|ppc64).*-linux'
 
 inherit autotools
 
@@ -26,3 +26,5 @@  EXTRA_OEMAKE = "-w"
 PARALLEL_MAKE = ""
 
 FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
+
+RRECOMMENDS_${PN} += "${TCLIBC}-dbg"