summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:22:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:46:15 +0100
commit81bc8201c475d2b6bef0168573915ad0140f6dad (patch)
tree34e4e70e7792703544e2b6babfa0033b705e3e66
parent603c7c13536d3fa1786270e863688c1d2e511196 (diff)
downloadbitbake-81bc8201c475d2b6bef0168573915ad0140f6dad.tar.gz
data: Fix handling of vardepvalueexclude
The value used for exclusion was always being expanded. This is actually a bad idea since in most cases you'd want to exclude an unexpanded value and makes it impossible to use the variable as intended. This adjusts things so the value is not expanded and we can correctly remove things from checksums much more easily. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data.py b/lib/bb/data.py
index 48d990dd1..c1f27cd0c 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -339,7 +339,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
deps |= parser.references
deps = deps | (keys & parser.execs)
return deps, value
- varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "vardepvalueexclude", "exports", "postfuncs", "prefuncs", "lineno", "filename"]) or {}
+ varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "exports", "postfuncs", "prefuncs", "lineno", "filename"]) or {}
vardeps = varflags.get("vardeps")
value = d.getVar(key, False)