diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-07 14:29:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 23:26:31 +0000 |
commit | 21a94f60f60d2b098a05d456264cd5f365469205 (patch) | |
tree | e0a5ef0a535de3fdf50a1f2866c407dcca3938fb | |
parent | b8ebac97949d47b3cc8b27f202dc6a803c03850d (diff) | |
download | poky-21a94f60f60d2b098a05d456264cd5f365469205.tar.gz |
valgrind: don't restrict to armv7a
Valgrind has been tested on armv5te/qemuarm, so it seems
that valgrind's configure check for armv7 is over cautious.
(From OE-Core rev: d68e47993277fa4fe18419b0b391bc53b1c4cdca)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb index c1c11d4a36..95b3966c69 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | |||
@@ -32,16 +32,18 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ | |||
32 | SRC_URI[md5sum] = "60ddae962bc79e7c95cfc4667245707f" | 32 | SRC_URI[md5sum] = "60ddae962bc79e7c95cfc4667245707f" |
33 | SRC_URI[sha256sum] = "fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997" | 33 | SRC_URI[sha256sum] = "fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997" |
34 | 34 | ||
35 | COMPATIBLE_HOST = '(i.86|x86_64|mips|powerpc|powerpc64).*-linux' | 35 | COMPATIBLE_HOST = '(i.86|x86_64|arm|mips|powerpc|powerpc64).*-linux' |
36 | COMPATIBLE_HOST_armv7a = 'arm.*-linux' | ||
37 | 36 | ||
38 | PR = "r1" | 37 | PR = "r1" |
39 | 38 | ||
40 | inherit autotools ptest | 39 | inherit autotools ptest |
41 | 40 | ||
42 | EXTRA_OECONF = "--enable-tls --without-mpicc" | 41 | EXTRA_OECONF = "--enable-tls --without-mpicc" |
43 | EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc" | ||
44 | EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}" | 42 | EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}" |
43 | |||
44 | # valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option | ||
45 | EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}" | ||
46 | |||
45 | EXTRA_OEMAKE = "-w" | 47 | EXTRA_OEMAKE = "-w" |
46 | 48 | ||
47 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " | 49 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " |