summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index e686652f16..4332d2434e 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -184,6 +184,20 @@ def preferred_ml_updates(d):
184 if not d.getVar(newname, False): 184 if not d.getVar(newname, False):
185 d.setVar(newname, p + "-" + val) 185 d.setVar(newname, p + "-" + val)
186 186
187
188 mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()
189 extramp = []
190 for p in mp:
191 if p.endswith("-native") or p.endswith("-nativesdk"):
192 continue
193 virt = ""
194 if p.startswith("virtual/"):
195 p = p.replace("virtual/", "")
196 virt = "virtual/"
197 for pref in prefixes:
198 extramp.append(virt + pref + "-" + p)
199 d.setVar("MULTI_PROVIDER_WHITELIST", " ".join(mp + extramp))
200
187addhandler base_eventhandler 201addhandler base_eventhandler
188python base_eventhandler() { 202python base_eventhandler() {
189 from bb import note, error, data 203 from bb import note, error, data