summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorZhenhua Luo <b19537@freescale.com>2012-07-11 15:42:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-11 11:15:24 +0100
commit82bdf46dbea8c16712fc763a02b8b8f7886f3e72 (patch)
treefb32135dffd3f13efe9f8190fd7d6598d024ccf7 /meta
parent125e702dc5b0d1b3fbf92c9436f6f0de142ca90a (diff)
downloadpoky-82bdf46dbea8c16712fc763a02b8b8f7886f3e72.tar.gz
valgrind: fix default.supp missing issue
When run valgrind, following error appears: ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp" (From OE-Core rev: 0b3261d513cdad80174a9b9e804981c50bcb7ca2) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.7.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
index 6b54472432..bb954bdaf7 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
9 9
10X11DEPENDS = "virtual/libx11" 10X11DEPENDS = "virtual/libx11"
11DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" 11DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
12PR = "r4" 12PR = "r5"
13 13
14SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ 14SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
15 file://fix_issue_caused_by_ccache.patch \ 15 file://fix_issue_caused_by_ccache.patch \
@@ -32,6 +32,10 @@ EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi"
32EXTRA_OEMAKE = "-w" 32EXTRA_OEMAKE = "-w"
33PARALLEL_MAKE = "" 33PARALLEL_MAKE = ""
34 34
35do_install_append () {
36 install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/
37}
38
35FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" 39FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
36RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg" 40RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
37RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg" 41RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"