diff options
author | Zhenhua Luo <b19537@freescale.com> | 2012-07-11 15:42:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 11:14:38 +0100 |
commit | 0b3261d513cdad80174a9b9e804981c50bcb7ca2 (patch) | |
tree | 431c503ba8d355b104fba68caa809560ddaf4815 /meta | |
parent | fbdee213465f38791f3dd6c2663f2fe295be3596 (diff) | |
download | openembedded-core-0b3261d513cdad80174a9b9e804981c50bcb7ca2.tar.gz openembedded-core-0b3261d513cdad80174a9b9e804981c50bcb7ca2.tar.bz2 openembedded-core-0b3261d513cdad80174a9b9e804981c50bcb7ca2.zip |
valgrind: fix default.supp missing issue
When run valgrind, following error appears:
==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp"
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.bb | 6 |
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 \ X11DEPENDS = "virtual/libx11" DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" -PR = "r4" +PR = "r5" SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://fix_issue_caused_by_ccache.patch \ @@ -32,6 +32,10 @@ EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi" EXTRA_OEMAKE = "-w" PARALLEL_MAKE = "" +do_install_append () { + install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/ +} + FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg" RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg" |