mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
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. (From OE-Core rev: 23734432a24da77aa838ad4bdcbcc294cde08348) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
23899a254e
commit
1276f1755b
@@ -52,6 +52,8 @@ def meson_cpu_family(var, d):
|
||||
arch = d.getVar(var)
|
||||
if arch == 'powerpc':
|
||||
return 'ppc'
|
||||
if arch == 'mipsel':
|
||||
return 'mips'
|
||||
elif re.match(r"i[3-6]86", arch):
|
||||
return "x86"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user