summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/__init__.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 15:44:08 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 15:44:08 +0000
commit27dba1e6247ae48349aee1bce141a9eefaafaad1 (patch)
tree822235005ccbd2707f7874ad680dedc4df36760c /bitbake/lib/bb/parse/__init__.py
parented234aca98d0867c7b32801fc63820b19cf67df9 (diff)
downloadpoky-27dba1e6247ae48349aee1bce141a9eefaafaad1.tar.gz
Update to bitbake 1.4.2 (latest stable branch release). This includes the caching speedups
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@371 311d38ba-8fff-0310-9ca6-ca027cbcb966
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"""