diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-16 07:45:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-17 14:09:38 +0100 |
commit | b05b748b2153c941b95cd36fb22aaafc4dbf3791 (patch) | |
tree | 31fee25a4d53df4cc529080cdf65d4e6262454d3 /lib/bb/data_smart.py | |
parent | a0122ab80df21597291ff32ff7fbaa4de0347a6f (diff) | |
download | bitbake-b05b748b2153c941b95cd36fb22aaafc4dbf3791.tar.gz |
data_smart: Cache the fact a variable accesses another even if its unset
If a variable references another but it isn't set at present, the
reference wasn't stored. It really should be marked as a reference
and the higher level dependency code can handle as appropriate.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r-- | lib/bb/data_smart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 054b5cbeb..79bf33108 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -100,8 +100,8 @@ class VariableParse: self.execs |= varparse.execs return varparse.value var = self.d.getVar(key, True) + self.references.add(key) if var is not None: - self.references.add(key) return var else: return match.group() |