diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/classextend.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py index 68efca32d0..8da87b771a 100644 --- a/meta/lib/oe/classextend.py +++ b/meta/lib/oe/classextend.py | |||
@@ -57,6 +57,13 @@ class ClassExtender(object): | |||
57 | if dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('cross-canadian' in dep) or ('-crosssdk-' in dep): | 57 | if dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('cross-canadian' in dep) or ('-crosssdk-' in dep): |
58 | return dep | 58 | return dep |
59 | else: | 59 | else: |
60 | # Do not extend for that already have multilib prefix | ||
61 | var = self.d.getVar("MULTILIB_VARIANTS", True) | ||
62 | if var: | ||
63 | var = var.split() | ||
64 | for v in var: | ||
65 | if dep.startswith(v): | ||
66 | return dep | ||
60 | return self.extend_name(dep) | 67 | return self.extend_name(dep) |
61 | 68 | ||
62 | def map_depends_variable(self, varname, suffix = ""): | 69 | def map_depends_variable(self, varname, suffix = ""): |