summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2019-09-19 12:30:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-19 20:29:39 +0100
commit01692856b8294109ac553c5c0cc23dbb5f1a8970 (patch)
treed40324bcada5514d4b5487a3c4af458980cbec9e
parentd41e7018be56902b7a1be4590e468cd15e02a3b5 (diff)
downloadopenembedded-core-contrib-01692856b8294109ac553c5c0cc23dbb5f1a8970.tar.gz
openembedded-core-contrib-01692856b8294109ac553c5c0cc23dbb5f1a8970.tar.bz2
openembedded-core-contrib-01692856b8294109ac553c5c0cc23dbb5f1a8970.zip
meson.bbclass: Handle microblaze* mapping to cpu family
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/meson.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 48ca112d80..efa6234078 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -55,6 +55,8 @@ def meson_cpu_family(var, d):
return 'mips64'
elif re.match(r"i[3-6]86", arch):
return "x86"
+ elif arch == "microblazeel" or arch == "microblazeeb":
+ return "microblaze"
else:
return arch