diff options
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 5b7a092a21..9a32353d68 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -323,9 +323,8 @@ def build_dependencies(key, keys, shelldeps, vardepvals, d): | |||
323 | 323 | ||
324 | deps |= set((vardeps or "").split()) | 324 | deps |= set((vardeps or "").split()) |
325 | deps -= set((d.getVarFlag(key, "vardepsexclude", True) or "").split()) | 325 | deps -= set((d.getVarFlag(key, "vardepsexclude", True) or "").split()) |
326 | except: | 326 | except Exception as e: |
327 | bb.note("Error expanding variable %s" % key) | 327 | raise bb.data_smart.ExpansionError(key, None, e) |
328 | raise | ||
329 | return deps, value | 328 | return deps, value |
330 | #bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs))) | 329 | #bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs))) |
331 | #d.setVarFlag(key, "vardeps", deps) | 330 | #d.setVarFlag(key, "vardeps", deps) |