From 944734503768f9e9223ef041f2d7873455418a54 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 16 Sep 2015 22:01:07 +0100 Subject: data_smart: Correctly handle OVERRIDE values set using ??= Right now, OVERRIDES dependency variables set using ??=, e.g. TARGET_ARCH in OE-Core don't have their dependencies tracked. This is a bug, fix it. Signed-off-by: Richard Purdie --- lib/bb/data_smart.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/bb/data_smart.py') diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 99f55cf4b..51cf81305 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -644,6 +644,8 @@ class DataSmart(MutableMapping): if flag == "_defaultval" and '_' in var: self._setvar_update_overrides(var, **loginfo) + if flag == "_defaultval" and var in self.overridevars: + self._setvar_update_overridevars(var, value) if flag == "unexport" or flag == "export": if not "__exportlist" in self.dict: -- cgit 1.2.3-korg