summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-05-29 00:01:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:31:22 +0100
commit66fd622058f690dbb291a648ec1583191bf44df5 (patch)
treee5502d4830defec1503ff408efb757d8fbf2a80e
parent9c85aef3ce25f6eb1d370a1a94e3fe16d59ec627 (diff)
downloadopenembedded-core-66fd622058f690dbb291a648ec1583191bf44df5.tar.gz
openembedded-core-66fd622058f690dbb291a648ec1583191bf44df5.tar.bz2
openembedded-core-66fd622058f690dbb291a648ec1583191bf44df5.zip
cross-canadian.bbclass: Recognise musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 cea6afb75d..25e246ddc3 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -27,7 +27,9 @@ python () {
tarch = d.getVar("TARGET_ARCH", True)
if tarch == "powerpc":
tos = d.getVar("TARGET_OS", True)
- if (tos != "linux" and tos != "linux-gnuspe" and tos != "linux-uclibc" and tos != "linux-uclibcspe"):
+ if (tos != "linux" and tos != "linux-gnuspe"
+ and tos != "linux-uclibc" and tos != "linux-uclibcspe"
+ and tos != "linux-musl" and tos != "linux-muslspe"):
bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True))
# This is a bit ugly. We need to zero LIBC/ABI extension which will change TARGET_OS
# however we need the old value in some variables. We expand those here first.