diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 9be5d5e270..a6a4b6c8ae 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -94,6 +94,11 @@ class VariableParse: | |||
94 | if self.varname and key: | 94 | if self.varname and key: |
95 | if self.varname == key: | 95 | if self.varname == key: |
96 | raise Exception("variable %s references itself!" % self.varname) | 96 | raise Exception("variable %s references itself!" % self.varname) |
97 | if key in self.d.expand_cache: | ||
98 | varparse = self.d.expand_cache[key] | ||
99 | self.references |= varparse.references | ||
100 | self.execs |= varparse.execs | ||
101 | return varparse.value | ||
97 | var = self.d.getVar(key, True) | 102 | var = self.d.getVar(key, True) |
98 | if var is not None: | 103 | if var is not None: |
99 | self.references.add(key) | 104 | self.references.add(key) |