From bfd0a39bdf13f6953810bf868022a871d2a20b6d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Feb 2017 17:11:38 +0000 Subject: 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 --- meta/recipes-devtools/gcc/gcc-common.inc | 1 - meta/recipes-devtools/rpm/rpm_5.4.16.bb | 1 - 2 files changed, 2 deletions(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 44e7c2891c..74578d94ff 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -71,7 +71,6 @@ def get_tune_parameters(tune, d): localdata = bb.data.createCopy(d) override = ':tune-' + tune localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES', False) + override) - bb.data.update_data(localdata) retdict = {} retdict['tune'] = tune diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb index 2d27588550..883dbc7866 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.16.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.16.bb @@ -639,7 +639,6 @@ def multilib_rpmmacros(d): overrides = d.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item localdata.setVar("OVERRIDES", overrides) localdata.setVar("MLPREFIX", item + "-") - bb.data.update_data(localdata) localdata.setVar('WORKDIR', workdirVal) localdata.setVar('distromacrodir', distromacrodirVal) localdata.setVar('D', dval) -- cgit v1.2.3-54-g00ecf