Patchwork [5/7] cross-canadian.bbclass: Recognise musl

login
register
mail settings
Submitter Khem Raj
Date May 29, 2014, 7:01 a.m.
Message ID <a722c9dc3ca8f17eb9911473d43ba15016231862.1401346650.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/72943/
State Accepted
Commit d73709fb2d402e16a771711db0243ceeffdd181b
Headers show

Comments

Khem Raj - May 29, 2014, 7:01 a.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/cross-canadian.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index cea6afb..25e246d 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.