summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-16 22:01:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-18 15:13:15 +0100
commit944734503768f9e9223ef041f2d7873455418a54 (patch)
tree899f7da4d5d1fb77260c70b4a59f699af8fdfbba /lib
parent82143ac064d391300e762ba7520ef1f8df18b574 (diff)
downloadbitbake-944734503768f9e9223ef041f2d7873455418a54.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/data_smart.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index 99f55cf4..51cf8130 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: