summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-16 07:36:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 14:11:04 +0100
commit66c9c01b2b14a973d6b97755a343760710312be9 (patch)
tree9fc671ef700aa54b7175ab8902153f4189f54cbb /bitbake/lib/bb/data.py
parent36b4fcde7a24ccefe0dabcbe5e8e6712187ff679 (diff)
downloadpoky-66c9c01b2b14a973d6b97755a343760710312be9.tar.gz
bitbake: data: Cache an list of export variables
Compute a cache of the list of potential export variables so that we don't have to compute the list from scratch. (Bitbake rev: f41f46f7eaa6889edeb3a4e4ddedc07084686c60) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index beaf089601..ecac66c6ba 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -342,7 +342,7 @@ def build_dependencies(key, keys, shelldeps, vardepvals, d):
342def generate_dependencies(d): 342def generate_dependencies(d):
343 343
344 keys = set(key for key in d if not key.startswith("__")) 344 keys = set(key for key in d if not key.startswith("__"))
345 shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport")) 345 shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport"))
346 vardepvals = set(key for key in keys if d.getVarFlag(key, "vardepvalue")) 346 vardepvals = set(key for key in keys if d.getVarFlag(key, "vardepvalue"))
347 347
348 deps = {} 348 deps = {}