]> code.ossystems Code Review - openembedded-core.git/commitdiff
cross-canadian: Improve comment
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Oct 2013 11:35:04 +0000 (11:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Oct 2013 18:00:56 +0000 (18:00 +0000)
The previous cross-canadian change was missing some tweaks
to the comments. This clarifies them slightly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross-canadian.bbclass

index c9742128e57a2c8f15ca49a4ff5a12bb32e88530..18ee7247b9a0f675e50f2855addb16184da77903 100644 (file)
@@ -29,7 +29,8 @@ python () {
         tos = d.getVar("TARGET_OS", True)
         if (tos != "linux" and tos != "linux-gnuspe"):
             bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True))
-        # Have to expand DEPENDS before we change the extensions
+        # 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.
         d.setVar("DEPENDS", d.getVar("DEPENDS", True))
         d.setVar("STAGING_BINDIR_TOOLCHAIN", d.getVar("STAGING_BINDIR_TOOLCHAIN", True))
         for prefix in ["AR", "AS", "DLLTOOL", "CC", "CXX", "GCC", "LD", "LIPO", "NM", "OBJDUMP", "RANLIB", "STRIP", "WINDRES"]: