summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/classextend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index 8da87b771a..5107ecde26 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -110,6 +110,8 @@ class ClassExtender(object):
110 110
111class NativesdkClassExtender(ClassExtender): 111class NativesdkClassExtender(ClassExtender):
112 def map_depends(self, dep): 112 def map_depends(self, dep):
113 if dep.startswith(self.extname):
114 return dep
113 if dep.endswith(("-gcc-initial", "-gcc", "-g++")): 115 if dep.endswith(("-gcc-initial", "-gcc", "-g++")):
114 return dep + "-crosssdk" 116 return dep + "-crosssdk"
115 elif dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('-cross-' in dep) or ('-crosssdk-' in dep): 117 elif dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('-cross-' in dep) or ('-crosssdk-' in dep):