summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index a2952ecc0f..2fc4002db5 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -84,6 +84,10 @@ def update_cache(f):
84 logger.debug(1, "Updating mtime cache for %s" % f) 84 logger.debug(1, "Updating mtime cache for %s" % f)
85 update_mtime(f) 85 update_mtime(f)
86 86
87def clear_cache():
88 global __mtime_cache
89 __mtime_cache = {}
90
87def mark_dependency(d, f): 91def mark_dependency(d, f):
88 if f.startswith('./'): 92 if f.startswith('./'):
89 f = "%s/%s" % (os.getcwd(), f[2:]) 93 f = "%s/%s" % (os.getcwd(), f[2:])