summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSamuel Stirtzel <s.stirtzel@googlemail.com>2012-05-23 15:46:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 08:51:43 +0100
commit019b9e99164dc30bffb16d67cf0c8d0a4f63c99b (patch)
treea2d459cc9852985ddaed45fa6b82c76089bec98d /meta
parent52c951192286b20bf9235b5c3e8b8c271f97ecd0 (diff)
downloadpoky-019b9e99164dc30bffb16d67cf0c8d0a4f63c99b.tar.gz
valgrind: Enable valgrind for armv7
Valgrind supports the armv7 architecture, this patch allows armv7 users to build and use Valgrind This patch was run-tested on a Gumstix Overo (armv7a cortex-a8) * The test consisted of running valgrinds memcheck (memory leakage detection), * and callgrind (profiling) on a Qt 4 application (From OE-Core rev: 211ac8b39023d4998fb7d5a577b63a4960b08172) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.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.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
index d7c7b244ee..6b54472432 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
@@ -23,13 +23,16 @@ SRC_URI[md5sum] = "a855fda56edf05614f099dca316d1775"
23SRC_URI[sha256sum] = "5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6" 23SRC_URI[sha256sum] = "5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6"
24 24
25COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux' 25COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux'
26COMPATIBLE_HOST_armv7a = 'arm.*-linux'
26 27
27inherit autotools 28inherit autotools
28 29
29EXTRA_OECONF = "--enable-tls" 30EXTRA_OECONF = "--enable-tls"
31EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi"
30EXTRA_OEMAKE = "-w" 32EXTRA_OEMAKE = "-w"
31PARALLEL_MAKE = "" 33PARALLEL_MAKE = ""
32 34
33FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" 35FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
34RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg" 36RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
35RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg" 37RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"
38RRECOMMENDS_${PN}_armv7a += "${TCLIBC}-dbg"