> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Ross Burton
> Sent: den 6 juli 2018 16:51
> To: [email protected]
> Subject: [OE-core] [PATCH 2/2] meson: map mipsel TARGET_ARCH to mips
> for the cross file
> 
> Meson uses 'mips' for both big- and little-endian MIPS machines, so map
> mipsel
> to mips.
> 
> Signed-off-by: Ross Burton <[email protected]>
> ---
>  meta/classes/meson.bbclass | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
> index 13a6f948756..0c9bf73596a 100644
> --- a/meta/classes/meson.bbclass
> +++ b/meta/classes/meson.bbclass
> @@ -52,6 +52,8 @@ def meson_cpu_family(var, d):
>      arch = d.getVar(var)
>      if arch == 'powerpc':
>          return 'ppc'
> +    if arch == 'mipsel':

Change if to elif for consistency.

> +        return 'mips'
>      elif re.match(r"i[3-6]86", arch):
>          return "x86"
>      else:
> --
> 2.11.0

//Peter

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to