summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cross-canadian.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index c9742128e5..18ee7247b9 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -29,7 +29,8 @@ python () {
29 tos = d.getVar("TARGET_OS", True) 29 tos = d.getVar("TARGET_OS", True)
30 if (tos != "linux" and tos != "linux-gnuspe"): 30 if (tos != "linux" and tos != "linux-gnuspe"):
31 bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True)) 31 bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True))
32 # Have to expand DEPENDS before we change the extensions 32 # This is a bit ugly. We need to zero LIBC/ABI extension which will change TARGET_OS
33 # however we need the old value in some variables. We expand those here first.
33 d.setVar("DEPENDS", d.getVar("DEPENDS", True)) 34 d.setVar("DEPENDS", d.getVar("DEPENDS", True))
34 d.setVar("STAGING_BINDIR_TOOLCHAIN", d.getVar("STAGING_BINDIR_TOOLCHAIN", True)) 35 d.setVar("STAGING_BINDIR_TOOLCHAIN", d.getVar("STAGING_BINDIR_TOOLCHAIN", True))
35 for prefix in ["AR", "AS", "DLLTOOL", "CC", "CXX", "GCC", "LD", "LIPO", "NM", "OBJDUMP", "RANLIB", "STRIP", "WINDRES"]: 36 for prefix in ["AR", "AS", "DLLTOOL", "CC", "CXX", "GCC", "LD", "LIPO", "NM", "OBJDUMP", "RANLIB", "STRIP", "WINDRES"]: