aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/codeparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/codeparser.py')
-rw-r--r--bitbake/lib/bb/codeparser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index 82a3af4e06..6c9a42dc39 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -144,6 +144,10 @@ class CodeParserCache(MultiProcessCache):
return cacheline
def init_cache(self, d):
+ # Check if we already have the caches
+ if self.pythoncache:
+ return
+
MultiProcessCache.init_cache(self, d)
# cachedata gets re-assigned in the parent