summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse/__init__.py')
-rw-r--r--bitbake/lib/bb/parse/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index cb27416061..58e17d154a 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -46,9 +46,9 @@ def update_mtime(f):
46def mark_dependency(d, f): 46def mark_dependency(d, f):
47 if f.startswith('./'): 47 if f.startswith('./'):
48 f = "%s/%s" % (os.getcwd(), f[2:]) 48 f = "%s/%s" % (os.getcwd(), f[2:])
49 deps = (bb.data.getVar('__depends', d) or "").split() 49 deps = bb.data.getVar('__depends', d) or []
50 deps.append("%s@%s" % (f, cached_mtime(f))) 50 deps.append( (f, cached_mtime(f)) )
51 bb.data.setVar('__depends', " ".join(deps), d) 51 bb.data.setVar('__depends', deps, d)
52 52
53def supports(fn, data): 53def supports(fn, data):
54 """Returns true if we have a handler for this file, false otherwise""" 54 """Returns true if we have a handler for this file, false otherwise"""