diff options
| -rw-r--r-- | bitbake/lib/bb/cache.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 3e2f698cf7..23845bc07b 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
| @@ -247,7 +247,6 @@ class Cache(object): | |||
| 247 | 247 | ||
| 248 | cached = self.cacheValid(fn) | 248 | cached = self.cacheValid(fn) | 
| 249 | if not cached: | 249 | if not cached: | 
| 250 | self.cacheclean = False | ||
| 251 | logger.debug(1, "Parsing %s", fn) | 250 | logger.debug(1, "Parsing %s", fn) | 
| 252 | datastores = self.load_bbfile(fn, appends, cfgData) | 251 | datastores = self.load_bbfile(fn, appends, cfgData) | 
| 253 | depends = set() | 252 | depends = set() | 
| @@ -259,6 +258,11 @@ class Cache(object): | |||
| 259 | if depends and not variant: | 258 | if depends and not variant: | 
| 260 | data.setVar("__depends", depends) | 259 | data.setVar("__depends", depends) | 
| 261 | info = RecipeInfo.from_metadata(fn, data) | 260 | info = RecipeInfo.from_metadata(fn, data) | 
| 261 | if not info.nocache: | ||
| 262 | # The recipe was parsed, and is not marked as being | ||
| 263 | # uncacheable, so we need to ensure that we write out the | ||
| 264 | # new cache data. | ||
| 265 | self.cacheclean = False | ||
| 262 | self.depends_cache[virtualfn] = info | 266 | self.depends_cache[virtualfn] = info | 
| 263 | 267 | ||
| 264 | info = self.depends_cache[fn] | 268 | info = self.depends_cache[fn] | 
