summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/parse/__init__.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@openedhand.com>2008-09-30 16:54:37 +0000
committerJoshua Lock <josh@openedhand.com>2008-09-30 16:54:37 +0000
commitcbaab65ff4bb3e4fc77066032a8858f4d5d61241 (patch)
tree393dcbb8a980e4d8c0c9d9db4eb3405e9c7f5f90 /bitbake-dev/lib/bb/parse/__init__.py
parentd54280dd315810ad8cdbce5c52a1af3de902f6ef (diff)
downloadpoky-cbaab65ff4bb3e4fc77066032a8858f4d5d61241.tar.gz
Merge changes from Poky bitbake 1.8
Update bitbake-dev to have extra fixes from Poky's internal (1.8) version of bitbake. Should be able to use bitbake-dev with Poky now. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5340 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake-dev/lib/bb/parse/__init__.py')
-rw-r--r--bitbake-dev/lib/bb/parse/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/parse/__init__.py b/bitbake-dev/lib/bb/parse/__init__.py
index 3c9ba8e6da..5dd96c4136 100644
--- a/bitbake-dev/lib/bb/parse/__init__.py
+++ b/bitbake-dev/lib/bb/parse/__init__.py
@@ -50,6 +50,10 @@ def cached_mtime_noerror(f):
50 return 0 50 return 0
51 return __mtime_cache[f] 51 return __mtime_cache[f]
52 52
53def update_mtime(f):
54 __mtime_cache[f] = os.stat(f)[8]
55 return __mtime_cache[f]
56
53def mark_dependency(d, f): 57def mark_dependency(d, f):
54 if f.startswith('./'): 58 if f.startswith('./'):
55 f = "%s/%s" % (os.getcwd(), f[2:]) 59 f = "%s/%s" % (os.getcwd(), f[2:])