diff options
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r-- | meta/classes/utils.bbclass | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 7035f9da25..812129fda7 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass | |||
@@ -361,21 +361,7 @@ def all_multilib_tune_list(vars, d): | |||
361 | for v in vars: | 361 | for v in vars: |
362 | values[v] = [] | 362 | values[v] = [] |
363 | 363 | ||
364 | localdata = bb.data.createCopy(d) | 364 | variants = (d.getVar("MULTILIB_VARIANTS") or "").split() + [''] |
365 | overrides = localdata.getVar("OVERRIDES", False).split(":") | ||
366 | newoverrides = [] | ||
367 | for o in overrides: | ||
368 | if not o.startswith("virtclass-multilib-"): | ||
369 | newoverrides.append(o) | ||
370 | localdata.setVar("OVERRIDES", ":".join(newoverrides)) | ||
371 | localdata.setVar("MLPREFIX", "") | ||
372 | origdefault = localdata.getVar("DEFAULTTUNE_MULTILIB_ORIGINAL") | ||
373 | if origdefault: | ||
374 | localdata.setVar("DEFAULTTUNE", origdefault) | ||
375 | values['ml'] = [''] | ||
376 | for v in vars: | ||
377 | values[v].append(localdata.getVar(v)) | ||
378 | variants = d.getVar("MULTILIB_VARIANTS") or "" | ||
379 | for item in variants.split(): | 365 | for item in variants.split(): |
380 | localdata = get_multilib_datastore(item, d) | 366 | localdata = get_multilib_datastore(item, d) |
381 | values[v].append(localdata.getVar(v)) | 367 | values[v].append(localdata.getVar(v)) |