diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-09 17:17:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:08:15 -0800 |
commit | f0d5eb39c3ec939d4d42796ab53490d08c7609a5 (patch) | |
tree | bc9dcd8301649106cb1f3123da62b8aed00d445b /bitbake/lib/bb/parse | |
parent | 01b9ab89dea3b8ab9781b7d06e5024106ced1dd0 (diff) | |
download | poky-f0d5eb39c3ec939d4d42796ab53490d08c7609a5.tar.gz |
bitbake: lib: 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.
(Bitbake rev: 2300beb50333bb620013b058a7309e7f2042101d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 8b5b36619d..dba4540f5e 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -130,7 +130,6 @@ class DataNode(AstNode): | |||
130 | val = groupd["value"] | 130 | val = groupd["value"] |
131 | elif "colon" in groupd and groupd["colon"] != None: | 131 | elif "colon" in groupd and groupd["colon"] != None: |
132 | e = data.createCopy() | 132 | e = data.createCopy() |
133 | bb.data.update_data(e) | ||
134 | op = "immediate" | 133 | op = "immediate" |
135 | val = e.expand(groupd["value"], key + "[:=]") | 134 | val = e.expand(groupd["value"], key + "[:=]") |
136 | elif "append" in groupd and groupd["append"] != None: | 135 | elif "append" in groupd and groupd["append"] != None: |
@@ -350,12 +349,10 @@ def finalize(fn, d, variant = None): | |||
350 | bb.event.fire(bb.event.RecipePreFinalise(fn), d) | 349 | bb.event.fire(bb.event.RecipePreFinalise(fn), d) |
351 | 350 | ||
352 | bb.data.expandKeys(d) | 351 | bb.data.expandKeys(d) |
353 | bb.data.update_data(d) | ||
354 | code = [] | 352 | code = [] |
355 | for funcname in d.getVar("__BBANONFUNCS", False) or []: | 353 | for funcname in d.getVar("__BBANONFUNCS", False) or []: |
356 | code.append("%s(d)" % funcname) | 354 | code.append("%s(d)" % funcname) |
357 | bb.utils.better_exec("\n".join(code), {"d": d}) | 355 | bb.utils.better_exec("\n".join(code), {"d": d}) |
358 | bb.data.update_data(d) | ||
359 | 356 | ||
360 | tasklist = d.getVar('__BBTASKS', False) or [] | 357 | tasklist = d.getVar('__BBTASKS', False) or [] |
361 | bb.event.fire(bb.event.RecipeTaskPreProcess(fn, list(tasklist)), d) | 358 | bb.event.fire(bb.event.RecipeTaskPreProcess(fn, list(tasklist)), d) |