On Fri, Sep 2, 2016 at 9:01 AM, Zubair Lutfullah Kakakhel
<[email protected]> wrote:
> Valgrind doesn't build for MIPS soft float. Disable the build until
> the package has support for it.
>
> Signed-off-by: Zubair Lutfullah Kakakhel <[email protected]>
> ---
>  meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb 
> b/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
> index 13354f4..3d49131 100644
> --- a/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
> +++ b/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
> @@ -38,6 +38,10 @@ COMPATIBLE_HOST_armv4 = 'null'
>  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)}"

For the hardware float case, COMPATIBLE_HOST should be set to
".*-linux" since OE can support multiple distro layers, not just poky.

> +
>  inherit autotools ptest
>
>  EXTRA_OECONF = "--enable-tls --without-mpicc"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to