diff options
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 6dc02172cb..b0683c5180 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -365,7 +365,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d): | |||
365 | #bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs))) | 365 | #bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs))) |
366 | #d.setVarFlag(key, "vardeps", deps) | 366 | #d.setVarFlag(key, "vardeps", deps) |
367 | 367 | ||
368 | def generate_dependencies(d): | 368 | def generate_dependencies(d, whitelist): |
369 | 369 | ||
370 | keys = set(key for key in d if not key.startswith("__")) | 370 | keys = set(key for key in d if not key.startswith("__")) |
371 | shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export", False) and not d.getVarFlag(key, "unexport", False)) | 371 | shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export", False) and not d.getVarFlag(key, "unexport", False)) |
@@ -380,7 +380,7 @@ def generate_dependencies(d): | |||
380 | newdeps = deps[task] | 380 | newdeps = deps[task] |
381 | seen = set() | 381 | seen = set() |
382 | while newdeps: | 382 | while newdeps: |
383 | nextdeps = newdeps | 383 | nextdeps = newdeps - whitelist |
384 | seen |= nextdeps | 384 | seen |= nextdeps |
385 | newdeps = set() | 385 | newdeps = set() |
386 | for dep in nextdeps: | 386 | for dep in nextdeps: |