]> code.ossystems Code Review - openembedded-core.git/commitdiff
valgrind: MIPS: Make toolchain basename generic
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Thu, 8 Sep 2016 13:14:17 +0000 (14:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:20:04 +0000 (22:20 +0100)
For the hard float case, COMPATIBLE_HOST should be set to ".*-linux"
since OE can support multiple distro layers, not just poky.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/valgrind/valgrind_3.11.0.bb

index 3d49131cbadb3c480186ccfdf4e3b9a897ff21b7..42fd27f5376d2d691d1c1ee7bf707d20d20bb4de 100644 (file)
@@ -39,8 +39,8 @@ COMPATIBLE_HOST_armv5 = 'null'
 COMPATIBLE_HOST_armv6 = 'null'
 
 # valgrind doesn't like mips soft float
-COMPATIBLE_HOST_mips = "${@bb.utils.contains("TARGET_FPU", "soft", "null", "mips-poky-linux", d)}"
-COMPATIBLE_HOST_mipsel = "${@bb.utils.contains("TARGET_FPU", "soft", "null", "mipsel-poky-linux", d)}"
+COMPATIBLE_HOST_mips = "${@bb.utils.contains("TARGET_FPU", "soft", "null", ".*-linux", d)}"
+COMPATIBLE_HOST_mipsel = "${@bb.utils.contains("TARGET_FPU", "soft", "null", ".*-linux", d)}"
 
 inherit autotools ptest