summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
diff options
context:
space:
mode:
authorZhenhua Luo <b19537@freescale.com>2012-07-11 07:42:17 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 10:33:31 (GMT)
commite4f8c7f693b08cf988b7178ea4fc9b448487e158 (patch)
tree0c911fb1f384f80a8dc99464a0970dd4e6f39f2a /meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
parent4539cf1936d85370f41deec710172a4c874f6239 (diff)
downloadpoky-e4f8c7f693b08cf988b7178ea4fc9b448487e158.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) (From OE-Core rev: 95756cfbb7a9348b23cb46a49a5509e57e973faf) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.7.0.bb')
-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 d7c7b24..ea797ed 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 \
@@ -30,6 +30,10 @@ EXTRA_OECONF = "--enable-tls"
30EXTRA_OEMAKE = "-w" 30EXTRA_OEMAKE = "-w"
31PARALLEL_MAKE = "" 31PARALLEL_MAKE = ""
32 32
33do_install_append () {
34 install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/
35}
36
33FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" 37FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
34RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg" 38RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
35RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg" 39RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"