Patchwork [1/2] bitbake/lib/bb/data.py: Allow an exported variable to be excluded from dependency processing

login
register
mail settings
Submitter Jason Wessel
Date May 14, 2012, 2:28 a.m.
Message ID <1336962502-7271-2-git-send-email-jason.wessel@windriver.com>
Download mbox | patch
Permalink /patch/27545/
State New
Headers show

Comments

Jason Wessel - May 14, 2012, 2:28 a.m.
This change is intended to allow an exported variable to not impact
the sstate sum in oe-core.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
---
 lib/bb/data.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/lib/bb/data.py b/lib/bb/data.py
index c0636e1..a68ab43 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -313,7 +313,7 @@  def build_dependencies(key, keys, shelldeps, vardepvals, d):
 def generate_dependencies(d):
 
     keys = set(key for key in d.keys() if not key.startswith("__"))
-    shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport"))
+    shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport") and not d.getVarFlag(key, "undep"))
     vardepvals = set(key for key in keys if d.getVarFlag(key, "vardepvalue"))
 
     deps = {}