classextend: Fix crosssdk remapping for multilib

Submitted by Richard Purdie on May 30, 2014, 12:31 p.m.

Details

Message ID 1401453107.31309.27.camel@ted
State Accepted
Commit aa8b93e2db06866529d20939452f81fb9e18aaab
Headers show

Commit Message

Richard Purdie May 30, 2014, 12:31 p.m.
Multilib builds only require one crosssdk toolchain. We therefore shouldn't
be remapping crosssdk names. This resolves build failures looking for
weird multilib crosssdk toolchains.

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

Patch hide | download patch | download mbox

diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index 14d6f20a..71c7759 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -9,6 +9,8 @@  class ClassExtender(object):
             return name
         if name.startswith("rtld"):
             return name
+        if name.endswith("-crosssdk"):
+            return name
         if name.endswith("-" + self.extname):
             name = name.replace("-" + self.extname, "")
         if name.startswith("virtual/"):