diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-16 22:01:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-18 15:14:03 +0100 |
commit | 60d019dde0d2add3f696a99df670696219583c67 (patch) | |
tree | 96fc998bd44967a421c4115c5d1515d5ce1ea57c /bitbake | |
parent | 701ad76270cfc316c46b1242ce187801913821b3 (diff) | |
download | poky-60d019dde0d2add3f696a99df670696219583c67.tar.gz |
bitbake: 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.
(Bitbake rev: 944734503768f9e9223ef041f2d7873455418a54)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 99f55cf4b5..51cf813053 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -644,6 +644,8 @@ class DataSmart(MutableMapping): | |||
644 | 644 | ||
645 | if flag == "_defaultval" and '_' in var: | 645 | if flag == "_defaultval" and '_' in var: |
646 | self._setvar_update_overrides(var, **loginfo) | 646 | self._setvar_update_overrides(var, **loginfo) |
647 | if flag == "_defaultval" and var in self.overridevars: | ||
648 | self._setvar_update_overridevars(var, value) | ||
647 | 649 | ||
648 | if flag == "unexport" or flag == "export": | 650 | if flag == "unexport" or flag == "export": |
649 | if not "__exportlist" in self.dict: | 651 | if not "__exportlist" in self.dict: |