summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 619b9eec24..a3c073a59f 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -405,12 +405,12 @@ class Cache(object):
405 """Parse the specified filename, returning the recipe information""" 405 """Parse the specified filename, returning the recipe information"""
406 infos = [] 406 infos = []
407 datastores = cls.load_bbfile(filename, appends, configdata) 407 datastores = cls.load_bbfile(filename, appends, configdata)
408 depends = set() 408 depends = []
409 for variant, data in sorted(datastores.iteritems(), 409 for variant, data in sorted(datastores.iteritems(),
410 key=lambda i: i[0], 410 key=lambda i: i[0],
411 reverse=True): 411 reverse=True):
412 virtualfn = cls.realfn2virtual(filename, variant) 412 virtualfn = cls.realfn2virtual(filename, variant)
413 depends |= (data.getVar("__depends", False) or set()) 413 depends = depends + (data.getVar("__depends", False) or [])
414 if depends and not variant: 414 if depends and not variant:
415 data.setVar("__depends", depends) 415 data.setVar("__depends", depends)
416 416