summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.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/base.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/base.bbclass')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 965518c733..d6116e1464 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -222,7 +222,6 @@ python base_eventhandler() {
222 222
223 if isinstance(e, bb.event.BuildStarted): 223 if isinstance(e, bb.event.BuildStarted):
224 localdata = bb.data.createCopy(e.data) 224 localdata = bb.data.createCopy(e.data)
225 bb.data.update_data(localdata)
226 statuslines = [] 225 statuslines = []
227 for func in oe.data.typed_value('BUILDCFG_FUNCS', localdata): 226 for func in oe.data.typed_value('BUILDCFG_FUNCS', localdata):
228 g = globals() 227 g = globals()
@@ -355,7 +354,6 @@ def set_packagetriplet(d):
355 localdata = bb.data.createCopy(d) 354 localdata = bb.data.createCopy(d)
356 overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item 355 overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item
357 localdata.setVar("OVERRIDES", overrides) 356 localdata.setVar("OVERRIDES", overrides)
358 bb.data.update_data(localdata)
359 357
360 archs.append(localdata.getVar("PACKAGE_ARCHS").split()) 358 archs.append(localdata.getVar("PACKAGE_ARCHS").split())
361 tos.append(localdata.getVar("TARGET_OS")) 359 tos.append(localdata.getVar("TARGET_OS"))