Patchwork classextend: Fix crosssdk remapping for multilib

login
register
mail settings
Submitter Richard Purdie
Date May 30, 2014, 12:31 p.m.
Message ID <1401453107.31309.27.camel@ted>
Download mbox | patch
Permalink /patch/72999/
State New
Headers show

Comments

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

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/"):