summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-03-09 10:33:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-10 04:36:52 +0000
commit0aad8decf0eb17b90153225493f28835d24f043a (patch)
tree83c479e4efca36caf773132e3e63f22825540f62 /meta/classes
parent9b4e10acc53d22ee9a6bb566c1d665e45f4407cc (diff)
downloadpoky-0aad8decf0eb17b90153225493f28835d24f043a.tar.gz
base.bbclass: don't backfill features that already exist
It's too easy to cause rebuilds because the DISTRO_FEATURES have changed in meaningless ways (such as re-ordering or duplicate items). Help stop this by checking if the feature to be back-filled is already present. (From OE-Core rev: 63c7192119d54b92d908441109ed4e4fff761cba) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 4d69cafbcd..4ec1eda6bc 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -292,8 +292,8 @@ python base_eventhandler() {
292 e.data.setVar('BB_VERSION', bb.__version__) 292 e.data.setVar('BB_VERSION', bb.__version__)
293 pkgarch_mapping(e.data) 293 pkgarch_mapping(e.data)
294 preferred_ml_updates(e.data) 294 preferred_ml_updates(e.data)
295 e.data.appendVar('DISTRO_FEATURES', oe.utils.features_backfill("DISTRO_FEATURES", e.data)) 295 oe.utils.features_backfill("DISTRO_FEATURES", e.data)
296 e.data.appendVar('MACHINE_FEATURES', oe.utils.features_backfill("MACHINE_FEATURES", e.data)) 296 oe.utils.features_backfill("MACHINE_FEATURES", e.data)
297 297
298 if isinstance(e, bb.event.BuildStarted): 298 if isinstance(e, bb.event.BuildStarted):
299 statuslines = [] 299 statuslines = []