summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.8.1.bb')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.8.1.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
new file mode 100644
index 0000000000..75c3e73731
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
@@ -0,0 +1,42 @@
1DESCRIPTION = "Valgrind memory debugger"
2HOMEPAGE = "http://valgrind.org/"
3BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
4LICENSE = "GPLv2 & GPLv2+ & BSD"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
6 file://include/pub_tool_basics.h;beginline=1;endline=29;md5=6b18ba0139d10678ce3a9969f68e4c6d \
7 file://include/valgrind.h;beginline=1;endline=56;md5=b6bb5ab625a759823e17197ec3e2ee83 \
8 file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
9
10X11DEPENDS = "virtual/libx11"
11DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
12PR = "r8"
13
14SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
15 file://fix_issue_caused_by_ccache.patch \
16 file://fix_unsupporting_kernel_3.patch \
17 file://fixed-perl-path.patch \
18 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
19 file://configure-with-newer-glibc.patch \
20 "
21
22SRC_URI[md5sum] = "288758010b271119a0ffc0183f1d6e38"
23SRC_URI[sha256sum] = "473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db"
24
25COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux'
26COMPATIBLE_HOST_armv7a = 'arm.*-linux'
27
28inherit autotools
29
30EXTRA_OECONF = "--enable-tls --without-mpicc"
31EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc"
32EXTRA_OEMAKE = "-w"
33PARALLEL_MAKE = ""
34
35do_install_append () {
36 install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/
37}
38
39FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
40RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
41RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"
42RRECOMMENDS_${PN}_armv7a += "${TCLIBC}-dbg"