diff options
Diffstat (limited to 'bitbake/lib/bb/parse/__init__.py')
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index fc06841d3f..95f372b00b 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py | |||
@@ -56,8 +56,8 @@ def update_mtime(f): | |||
56 | def mark_dependency(d, f): | 56 | def mark_dependency(d, f): |
57 | if f.startswith('./'): | 57 | if f.startswith('./'): |
58 | f = "%s/%s" % (os.getcwd(), f[2:]) | 58 | f = "%s/%s" % (os.getcwd(), f[2:]) |
59 | deps = bb.data.getVar('__depends', d) or [] | 59 | deps = bb.data.getVar('__depends', d) or set() |
60 | deps.append( (f, cached_mtime(f)) ) | 60 | deps.update([(f, cached_mtime(f))]) |
61 | bb.data.setVar('__depends', deps, d) | 61 | bb.data.setVar('__depends', deps, d) |
62 | 62 | ||
63 | def supports(fn, data): | 63 | def supports(fn, data): |