diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2010-12-10 14:29:39 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-14 22:35:50 +0000 |
commit | a52e4063f4da3ac377959bbd1bea425c9a466df9 (patch) | |
tree | 9e49041144e3c02f3f409f10d34df3553d7620a2 /bitbake | |
parent | 27c117141f0189332d9bc66fd371ed178428626e (diff) | |
download | poky-a52e4063f4da3ac377959bbd1bea425c9a466df9.tar.gz |
bitbake: allow excluding dependencies of variables
Adds a vardepsexclude flag that can be used to exclude a dependency of
a variable (the opposite of vardeps). This will allow the exclusion of
variables from the hash generation much more selectively than blanket
whitelisting using BB_HASHBASE_WHITELIST.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/data.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index d4d43fd8c8..0c95ebb31b 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -297,6 +297,7 @@ def build_dependencies(key, keys, shelldeps, d): | |||
297 | deps |= parser.references | 297 | deps |= parser.references |
298 | deps = deps | (keys & parser.execs) | 298 | deps = deps | (keys & parser.execs) |
299 | deps |= set((d.getVarFlag(key, "vardeps") or "").split()) | 299 | deps |= set((d.getVarFlag(key, "vardeps") or "").split()) |
300 | deps -= set((d.getVarFlag(key, "vardepsexclude") or "").split()) | ||
300 | except: | 301 | except: |
301 | bb.note("Error expanding variable %s" % key) | 302 | bb.note("Error expanding variable %s" % key) |
302 | raise | 303 | raise |