diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-09 17:11:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:55 -0800 |
commit | bfd0a39bdf13f6953810bf868022a871d2a20b6d (patch) | |
tree | e3c3fddc611afb3e70d6fae68e7cbdc42e1fe796 /meta/classes/utils.bbclass | |
parent | e758547db9048d4aa1c1415d6af8072f519fae24 (diff) | |
download | poky-bfd0a39bdf13f6953810bf868022a871d2a20b6d.tar.gz |
classes: Drop now unneeded update_data calls
Now that the datastore works dynamically we don't need the update_data calls
so we can just remove them. They're not actually done anything at all for
a while.
(From OE-Core rev: 8de0c5d3bd01919e2bf0394f9c485936d6098cec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r-- | meta/classes/utils.bbclass | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index fe75f73a77..96463ab323 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass | |||
@@ -368,7 +368,6 @@ def get_multilib_datastore(variant, d): | |||
368 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant | 368 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant |
369 | localdata.setVar("OVERRIDES", overrides) | 369 | localdata.setVar("OVERRIDES", overrides) |
370 | localdata.setVar("MLPREFIX", variant + "-") | 370 | localdata.setVar("MLPREFIX", variant + "-") |
371 | bb.data.update_data(localdata) | ||
372 | return localdata | 371 | return localdata |
373 | 372 | ||
374 | def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): | 373 | def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): |
@@ -423,7 +422,6 @@ def all_multilib_tune_list(vars, d): | |||
423 | origdefault = localdata.getVar("DEFAULTTUNE_MULTILIB_ORIGINAL") | 422 | origdefault = localdata.getVar("DEFAULTTUNE_MULTILIB_ORIGINAL") |
424 | if origdefault: | 423 | if origdefault: |
425 | localdata.setVar("DEFAULTTUNE", origdefault) | 424 | localdata.setVar("DEFAULTTUNE", origdefault) |
426 | bb.data.update_data(localdata) | ||
427 | values['ml'] = [''] | 425 | values['ml'] = [''] |
428 | for v in vars: | 426 | for v in vars: |
429 | values[v].append(localdata.getVar(v)) | 427 | values[v].append(localdata.getVar(v)) |