summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index daf56770f9..c4b7c3992e 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -108,6 +108,10 @@ class SignatureGeneratorBasic(SignatureGenerator):
108 data = data + dep 108 data = data + dep
109 if dep in lookupcache: 109 if dep in lookupcache:
110 var = lookupcache[dep] 110 var = lookupcache[dep]
111 elif dep[-1] == ']':
112 vf = dep[:-1].split('[')
113 var = d.getVarFlag(vf[0], vf[1], False)
114 lookupcache[dep] = var
111 else: 115 else:
112 var = d.getVar(dep, False) 116 var = d.getVar(dep, False)
113 lookupcache[dep] = var 117 lookupcache[dep] = var