diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.8.1.bb')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 42 |
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 @@ | |||
1 | DESCRIPTION = "Valgrind memory debugger" | ||
2 | HOMEPAGE = "http://valgrind.org/" | ||
3 | BUGTRACKER = "http://valgrind.org/support/bug_reports.html" | ||
4 | LICENSE = "GPLv2 & GPLv2+ & BSD" | ||
5 | LIC_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 | |||
10 | X11DEPENDS = "virtual/libx11" | ||
11 | DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" | ||
12 | PR = "r8" | ||
13 | |||
14 | SRC_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 | |||
22 | SRC_URI[md5sum] = "288758010b271119a0ffc0183f1d6e38" | ||
23 | SRC_URI[sha256sum] = "473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db" | ||
24 | |||
25 | COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux' | ||
26 | COMPATIBLE_HOST_armv7a = 'arm.*-linux' | ||
27 | |||
28 | inherit autotools | ||
29 | |||
30 | EXTRA_OECONF = "--enable-tls --without-mpicc" | ||
31 | EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc" | ||
32 | EXTRA_OEMAKE = "-w" | ||
33 | PARALLEL_MAKE = "" | ||
34 | |||
35 | do_install_append () { | ||
36 | install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/ | ||
37 | } | ||
38 | |||
39 | FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" | ||
40 | RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg" | ||
41 | RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg" | ||
42 | RRECOMMENDS_${PN}_armv7a += "${TCLIBC}-dbg" | ||