From a52e4063f4da3ac377959bbd1bea425c9a466df9 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 10 Dec 2010 14:29:39 +0000 Subject: 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 --- bitbake/lib/bb/data.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index d4d43fd8c..0c95ebb31 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py @@ -297,6 +297,7 @@ def build_dependencies(key, keys, shelldeps, d): deps |= parser.references deps = deps | (keys & parser.execs) deps |= set((d.getVarFlag(key, "vardeps") or "").split()) + deps -= set((d.getVarFlag(key, "vardepsexclude") or "").split()) except: bb.note("Error expanding variable %s" % key) raise -- cgit v1.2.3