2008-03-06 07:22:27 +00:00
|
|
|
DESCRIPTION = "Valgrind memory debugger"
|
2010-07-16 05:47:04 +00:00
|
|
|
HOMEPAGE = "http://valgrind.org/"
|
|
|
|
BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
|
2011-05-25 21:05:02 +00:00
|
|
|
LICENSE = "GPLv2 & GPLv2+ & BSD"
|
2010-07-16 05:47:04 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
|
2013-01-22 15:29:15 +00:00
|
|
|
file://include/pub_tool_basics.h;beginline=1;endline=29;md5=6b18ba0139d10678ce3a9969f68e4c6d \
|
|
|
|
file://include/valgrind.h;beginline=1;endline=56;md5=b6bb5ab625a759823e17197ec3e2ee83 \
|
2010-07-16 05:47:04 +00:00
|
|
|
file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
|
2012-03-06 17:03:21 +00:00
|
|
|
|
|
|
|
X11DEPENDS = "virtual/libx11"
|
|
|
|
DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
|
2013-01-09 17:50:23 +00:00
|
|
|
PR = "r8"
|
2008-03-06 07:22:27 +00:00
|
|
|
|
2009-09-03 22:43:24 +00:00
|
|
|
SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
|
2010-08-31 14:51:58 +00:00
|
|
|
file://fix_issue_caused_by_ccache.patch \
|
2011-08-11 06:01:52 +00:00
|
|
|
file://fix_unsupporting_kernel_3.patch \
|
2011-12-23 05:25:43 +00:00
|
|
|
file://fixed-perl-path.patch \
|
2012-07-04 20:12:00 +00:00
|
|
|
file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
|
2013-01-09 17:50:23 +00:00
|
|
|
file://configure-with-newer-glibc.patch \
|
2012-07-04 20:12:00 +00:00
|
|
|
"
|
2008-03-06 07:22:27 +00:00
|
|
|
|
2013-01-22 15:29:15 +00:00
|
|
|
SRC_URI[md5sum] = "288758010b271119a0ffc0183f1d6e38"
|
|
|
|
SRC_URI[sha256sum] = "473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2012-01-06 06:33:22 +00:00
|
|
|
COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux'
|
2012-05-23 13:46:28 +00:00
|
|
|
COMPATIBLE_HOST_armv7a = 'arm.*-linux'
|
2008-03-06 07:22:27 +00:00
|
|
|
|
2010-04-26 16:41:05 +00:00
|
|
|
inherit autotools
|
2008-03-06 07:22:27 +00:00
|
|
|
|
2013-01-25 15:17:06 +00:00
|
|
|
EXTRA_OECONF = "--enable-tls --without-mpicc"
|
|
|
|
EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc"
|
2010-08-17 23:31:18 +00:00
|
|
|
EXTRA_OEMAKE = "-w"
|
|
|
|
PARALLEL_MAKE = ""
|
2008-03-06 07:22:27 +00:00
|
|
|
|
2012-07-11 07:42:17 +00:00
|
|
|
do_install_append () {
|
|
|
|
install -m 644 ${S}/default.supp ${D}/${libdir}/valgrind/
|
|
|
|
}
|
|
|
|
|
2008-03-06 07:22:27 +00:00
|
|
|
FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
|
2012-01-06 06:33:22 +00:00
|
|
|
RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
|
|
|
|
RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"
|
2012-05-23 13:46:28 +00:00
|
|
|
RRECOMMENDS_${PN}_armv7a += "${TCLIBC}-dbg"
|