diff options
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 335b221979..7d7e66ebd2 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -39,7 +39,7 @@ except ImportError: | |||
39 | import pickle | 39 | import pickle |
40 | bb.msg.note(1, bb.msg.domain.Cache, "Importing cPickle failed. Falling back to a very slow implementation.") | 40 | bb.msg.note(1, bb.msg.domain.Cache, "Importing cPickle failed. Falling back to a very slow implementation.") |
41 | 41 | ||
42 | __cache_version__ = "126" | 42 | __cache_version__ = "127" |
43 | 43 | ||
44 | class Cache: | 44 | class Cache: |
45 | """ | 45 | """ |
@@ -286,10 +286,12 @@ class Cache: | |||
286 | cacheData.pn_provides[pn] = Set() | 286 | cacheData.pn_provides[pn] = Set() |
287 | cacheData.pn_provides[pn] |= provides | 287 | cacheData.pn_provides[pn] |= provides |
288 | 288 | ||
289 | cacheData.fn_provides[file_name] = Set() | ||
289 | for provide in provides: | 290 | for provide in provides: |
290 | if provide not in cacheData.providers: | 291 | if provide not in cacheData.providers: |
291 | cacheData.providers[provide] = [] | 292 | cacheData.providers[provide] = [] |
292 | cacheData.providers[provide].append(file_name) | 293 | cacheData.providers[provide].append(file_name) |
294 | cacheData.fn_provides[file_name].add(provide) | ||
293 | 295 | ||
294 | cacheData.deps[file_name] = Set() | 296 | cacheData.deps[file_name] = Set() |
295 | for dep in depends: | 297 | for dep in depends: |
@@ -414,6 +416,7 @@ class CacheData: | |||
414 | self.pkg_pepvpr = {} | 416 | self.pkg_pepvpr = {} |
415 | self.pkg_dp = {} | 417 | self.pkg_dp = {} |
416 | self.pn_provides = {} | 418 | self.pn_provides = {} |
419 | self.fn_provides = {} | ||
417 | self.all_depends = Set() | 420 | self.all_depends = Set() |
418 | self.deps = {} | 421 | self.deps = {} |
419 | self.rundeps = {} | 422 | self.rundeps = {} |