projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4172566
)
parse/__init__.py: Fix missing update_mtime function causing shell reparsing breakage...
author
Richard Purdie
<rpurdie@linux.intel.com>
Tue, 30 Sep 2008 20:13:00 +0000
(20:13 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Tue, 30 Sep 2008 20:13:00 +0000
(20:13 +0000)
lib/bb/parse/__init__.py
patch
|
blob
|
history
diff --git
a/lib/bb/parse/__init__.py
b/lib/bb/parse/__init__.py
index
3c9ba8e
..
5dd96c4
100644
(file)
--- a/
lib/bb/parse/__init__.py
+++ b/
lib/bb/parse/__init__.py
@@
-50,6
+50,10
@@
def cached_mtime_noerror(f):
return 0
return __mtime_cache[f]
+def update_mtime(f):
+ __mtime_cache[f] = os.stat(f)[8]
+ return __mtime_cache[f]
+
def mark_dependency(d, f):
if f.startswith('./'):
f = "%s/%s" % (os.getcwd(), f[2:])