summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
authorKrishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>2015-04-03 23:25:26 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-28 09:44:17 +0100
commit60836f602aa4766e85b4012acf3fbade9e37fba8 (patch)
tree6683a8eeaed4dfa288b049bf2720516fe5b80c66 /meta/recipes-devtools/valgrind
parent179c17970ab4f616352d01790e6bb52a47a72c5b (diff)
downloadpoky-60836f602aa4766e85b4012acf3fbade9e37fba8.tar.gz
valgrind: add configure option to build only 32-bit or 64-bit components
Building both 32-bit and 64-bit binaries in valgrind at a time would lead to following QA issue as below, (snip) ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_exp-sgcheck-x86-linux.so ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/getoff-x86-linux ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_core-x86-linux.so ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_memcheck-x86-linux.so -- CUT -- hence perform only one type of build 32-bit or 64-bit, but not both. (From OE-Core rev: 53afa26655d0b5f75ef2dd6bccef76281a14655c) (From OE-Core rev: cc79ca38c6f8af4f47fb1e466a836bc8764cd938) Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.10.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
index bf80b165af..ac50d2ee7a 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
@@ -32,10 +32,13 @@ SRC_URI[sha256sum] = "fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1d
32COMPATIBLE_HOST = '(i.86|x86_64|mips|powerpc|powerpc64).*-linux' 32COMPATIBLE_HOST = '(i.86|x86_64|mips|powerpc|powerpc64).*-linux'
33COMPATIBLE_HOST_armv7a = 'arm.*-linux' 33COMPATIBLE_HOST_armv7a = 'arm.*-linux'
34 34
35PR = "r1"
36
35inherit autotools ptest 37inherit autotools ptest
36 38
37EXTRA_OECONF = "--enable-tls --without-mpicc" 39EXTRA_OECONF = "--enable-tls --without-mpicc"
38EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc" 40EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc"
41EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}"
39EXTRA_OEMAKE = "-w" 42EXTRA_OEMAKE = "-w"
40 43
41do_install_append () { 44do_install_append () {