summaryrefslogtreecommitdiffstats
path: root/meta/classes/multilib_global.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-09 17:11:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 09:29:55 -0800
commitbfd0a39bdf13f6953810bf868022a871d2a20b6d (patch)
treee3c3fddc611afb3e70d6fae68e7cbdc42e1fe796 /meta/classes/multilib_global.bbclass
parente758547db9048d4aa1c1415d6af8072f519fae24 (diff)
downloadpoky-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/multilib_global.bbclass')
-rw-r--r--meta/classes/multilib_global.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass
index c9869fd592..fd0bfe1273 100644
--- a/meta/classes/multilib_global.bbclass
+++ b/meta/classes/multilib_global.bbclass
@@ -29,7 +29,6 @@ def preferred_ml_updates(d):
29 localdata = bb.data.createCopy(d) 29 localdata = bb.data.createCopy(d)
30 override = ":virtclass-multilib-" + p 30 override = ":virtclass-multilib-" + p
31 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override) 31 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
32 bb.data.update_data(localdata)
33 if "-canadian-" in pkg: 32 if "-canadian-" in pkg:
34 newname = localdata.expand(v) 33 newname = localdata.expand(v)
35 else: 34 else:
@@ -57,7 +56,6 @@ def preferred_ml_updates(d):
57 localdata = bb.data.createCopy(d) 56 localdata = bb.data.createCopy(d)
58 override = ":virtclass-multilib-" + p 57 override = ":virtclass-multilib-" + p
59 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override) 58 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
60 bb.data.update_data(localdata)
61 newname = localdata.expand(prov) 59 newname = localdata.expand(prov)
62 if newname != prov: 60 if newname != prov:
63 newval = localdata.expand(val) 61 newval = localdata.expand(val)
@@ -80,7 +78,6 @@ def preferred_ml_updates(d):
80 localdata = bb.data.createCopy(d) 78 localdata = bb.data.createCopy(d)
81 override = ":virtclass-multilib-" + p 79 override = ":virtclass-multilib-" + p
82 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override) 80 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
83 bb.data.update_data(localdata)
84 newname = localdata.expand(prov) 81 newname = localdata.expand(prov)
85 if newname != prov and not d.getVar(newname, False): 82 if newname != prov and not d.getVar(newname, False):
86 d.setVar(newname, localdata.expand(newval)) 83 d.setVar(newname, localdata.expand(newval))