summaryrefslogtreecommitdiff
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 11:38:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 15:15:13 +0100
commitfe26f809aaad5d5d608e841c99b817316c5a59a0 (patch)
tree73f70f0fce69a1214c8796510b259de8f131d84e /meta/classes/cross-canadian.bbclass
parentda5d21c3a1ae5d4767b803ba05dcce2f1b3d3808 (diff)
downloadopenembedded-core-fe26f809aaad5d5d608e841c99b817316c5a59a0.tar.gz
openembedded-core-fe26f809aaad5d5d608e841c99b817316c5a59a0.tar.bz2
openembedded-core-fe26f809aaad5d5d608e841c99b817316c5a59a0.zip
cross-canadian/gcc: Various mips64 fixes
"n32" is a mips64 variant we need to consider when processing the TARGET_OS extensions. Also add the multilib extensions for mips64. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r--meta/classes/cross-canadian.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index dca0b38d2b..80fb472b42 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -31,7 +31,7 @@ python () {
tos = d.getVar("TARGET_OS", True)
whitelist = []
- for variant in ["", "spe", "x32", "eabi"]:
+ for variant in ["", "spe", "x32", "eabi", "n32"]:
for libc in ["", "uclibc", "musl"]:
entry = "linux"
if variant and libc:
@@ -62,6 +62,8 @@ python () {
d.setVar("LIBCEXTENSION", "")
d.setVar("ABIEXTENSION", "")
d.appendVar("CANADIANEXTRAOS", " linux-gnuspe linux-uclibcspe linux-muslspe")
+ elif tarch == "mips64":
+ d.appendVar("CANADIANEXTRAOS", " linux-gnun32 linux-uclibcn32 linux-musln32")
if tarch == "arm":
d.setVar("TARGET_OS", "linux-gnueabi")
else: