From c125ef12ae6c2ffdd11ce271e11d2a9a8cfcace4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 31 Jul 2015 11:38:24 +0100 Subject: 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. (From OE-Core rev: fe26f809aaad5d5d608e841c99b817316c5a59a0) Signed-off-by: Richard Purdie --- meta/classes/cross-canadian.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/classes/cross-canadian.bbclass') 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: -- cgit v1.2.3-54-g00ecf