[oe-commits] Richard Purdie : cross-canadian: Improve comment

git at git.openembedded.org git at git.openembedded.org
Wed Oct 30 17:46:52 UTC 2013


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Oct 17 11:35:04 2013 +0000

cross-canadian: Improve comment

The previous cross-canadian change was missing some tweaks
to the comments. This clarifies them slightly.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/cross-canadian.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index c974212..18ee724 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -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"]:



More information about the Openembedded-commits mailing list