]> code.ossystems Code Review - openembedded-core.git/commitdiff
cross-canadian.bbclass: Recognise musl
authorKhem Raj <raj.khem@gmail.com>
Thu, 29 May 2014 07:01:05 +0000 (00:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 May 2014 15:31:22 +0000 (16:31 +0100)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross-canadian.bbclass

index cea6afb75dd3d6d46835efdff8396e9ff387a3e6..25e246ddc3dfc2db9390a689a5215a5f7e2792a1 100644 (file)
@@ -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.