[oe-commits] Khem Raj : cross-canadian: Let cross-canadian packages build for uclibc

git at git.openembedded.org git at git.openembedded.org
Fri Nov 8 17:31:43 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 7928a9e54dfa85cbfd042e25ed883a9795f09f1b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7928a9e54dfa85cbfd042e25ed883a9795f09f1b

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Nov  7 03:52:25 2013 +0000

cross-canadian: Let cross-canadian packages build for uclibc

Fixes errors like

Parsing recipes...ERROR: Building cross-candian powerpc for an unknown
TARGET_SYS (powerpc-angstrom-linux-uclibc), please update
cross-canadian.bbclass
ERROR: Building cross-candian powerpc for an unknown TARGET_SYS
(powerpc-angstrom-linux-uclibc), please update cross-canadian.bbclass

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/cross-canadian.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 18ee724..70efee3 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -27,7 +27,7 @@ python () {
     tarch = d.getVar("TARGET_ARCH", True)
     if tarch == "powerpc":
         tos = d.getVar("TARGET_OS", True)
-        if (tos != "linux" and tos != "linux-gnuspe"):
+        if (tos != "linux" and tos != "linux-gnuspe" and tos != "linux-uclibc" and tos != "linux-uclibcspe"):
             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.



More information about the Openembedded-commits mailing list