summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass8
-rw-r--r--meta/classes/multilib.bbclass4
-rw-r--r--meta/lib/oe/classextend.py4
3 files changed, 8 insertions, 8 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 12a30c953c..783b64d9de 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -183,7 +183,7 @@ def preferred_ml_updates(d):
183 providers.append(v) 183 providers.append(v)
184 184
185 for pkg, reason in blacklists.items(): 185 for pkg, reason in blacklists.items():
186 if pkg.endswith("-native") or pkg.startswith("nativesdk-") or 'cross-canadian' in pkg: 186 if pkg.endswith(("-native", "-crosssdk")) or pkg.startswith("nativesdk-") or 'cross-canadian' in pkg:
187 continue 187 continue
188 for p in prefixes: 188 for p in prefixes:
189 newpkg = p + "-" + pkg 189 newpkg = p + "-" + pkg
@@ -193,7 +193,7 @@ def preferred_ml_updates(d):
193 for v in versions: 193 for v in versions:
194 val = d.getVar(v, False) 194 val = d.getVar(v, False)
195 pkg = v.replace("PREFERRED_VERSION_", "") 195 pkg = v.replace("PREFERRED_VERSION_", "")
196 if pkg.endswith("-native") or pkg.startswith("nativesdk-"): 196 if pkg.endswith(("-native", "-crosssdk")) or pkg.startswith("nativesdk-"):
197 continue 197 continue
198 if 'cross-canadian' in pkg: 198 if 'cross-canadian' in pkg:
199 for p in prefixes: 199 for p in prefixes:
@@ -214,7 +214,7 @@ def preferred_ml_updates(d):
214 for prov in providers: 214 for prov in providers:
215 val = d.getVar(prov, False) 215 val = d.getVar(prov, False)
216 pkg = prov.replace("PREFERRED_PROVIDER_", "") 216 pkg = prov.replace("PREFERRED_PROVIDER_", "")
217 if pkg.endswith("-native") or pkg.startswith("nativesdk-"): 217 if pkg.endswith(("-native", "-crosssdk")) or pkg.startswith("nativesdk-"):
218 continue 218 continue
219 if 'cross-canadian' in pkg: 219 if 'cross-canadian' in pkg:
220 for p in prefixes: 220 for p in prefixes:
@@ -253,7 +253,7 @@ def preferred_ml_updates(d):
253 mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split() 253 mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()
254 extramp = [] 254 extramp = []
255 for p in mp: 255 for p in mp:
256 if p.endswith("-native") or p.startswith("nativesdk-") or 'cross-canadian' in p: 256 if p.endswith(("-native", "-crosssdk")) or p.startswith("nativesdk-") or 'cross-canadian' in p:
257 continue 257 continue
258 virt = "" 258 virt = ""
259 if p.startswith("virtual/"): 259 if p.startswith("virtual/"):
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index de6e59e39d..c249925441 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -28,7 +28,7 @@ python multilib_virtclass_handler () {
28 if bb.data.inherits_class('native', e.data): 28 if bb.data.inherits_class('native', e.data):
29 raise bb.parse.SkipPackage("We can't extend native recipes") 29 raise bb.parse.SkipPackage("We can't extend native recipes")
30 30
31 if bb.data.inherits_class('nativesdk', e.data): 31 if bb.data.inherits_class('nativesdk', e.data) or bb.data.inherits_class('crosssdk', e.data):
32 raise bb.parse.SkipPackage("We can't extend nativesdk recipes") 32 raise bb.parse.SkipPackage("We can't extend nativesdk recipes")
33 33
34 save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or "" 34 save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or ""
@@ -101,7 +101,7 @@ python do_package_qa_multilib() {
101 for i in values: 101 for i in values:
102 if i.startswith('virtual/'): 102 if i.startswith('virtual/'):
103 i = i[len('virtual/'):] 103 i = i[len('virtual/'):]
104 if (not i.startswith('kernel-module')) and (not i.startswith(mlprefix)) and (not 'cross-canadian' in i): 104 if (not i.startswith('kernel-module')) and (not i.startswith(mlprefix)) and (not 'cross-canadian' in i) and (not i.startswith("nativesdk-")):
105 candidates.append(i) 105 candidates.append(i)
106 if len(candidates) > 0: 106 if len(candidates) > 0:
107 bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s" 107 bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s"
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index c982fb7c3f..c46332c785 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -50,7 +50,7 @@ class ClassExtender(object):
50 return newdata 50 return newdata
51 51
52 def map_depends(self, dep): 52 def map_depends(self, dep):
53 if dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('cross-canadian' in dep): 53 if dep.endswith(("-native", "-native-runtime", "-crosssdk")) or ('nativesdk-' in dep) or ('cross-canadian' in dep):
54 return dep 54 return dep
55 else: 55 else:
56 return self.extend_name(dep) 56 return self.extend_name(dep)
@@ -93,7 +93,7 @@ class ClassExtender(object):
93 93
94class NativesdkClassExtender(ClassExtender): 94class NativesdkClassExtender(ClassExtender):
95 def map_depends(self, dep): 95 def map_depends(self, dep):
96 if dep.endswith(("-native", "-native-runtime", "-cross")) or ('nativesdk-' in dep): 96 if dep.endswith(("-native", "-native-runtime", "-cross", "-crosssdk")) or ('nativesdk-' in dep):
97 return dep 97 return dep
98 elif dep.endswith(("-gcc-intermediate", "-gcc-initial", "-gcc", "-g++")): 98 elif dep.endswith(("-gcc-intermediate", "-gcc-initial", "-gcc", "-g++")):
99 return dep + "-crosssdk" 99 return dep + "-crosssdk"