diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-02 14:10:08 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-02 14:10:08 +0000 |
commit | e223238b1b88c9b6888972b7944b3854319e4928 (patch) | |
tree | ae78533078bd8e7382d50778cec144541eae65f6 /bitbake/lib/bb/cache.py | |
parent | 1cf731b1e3bb125449c2ef4e1194b6bf69e7b667 (diff) | |
download | poky-e223238b1b88c9b6888972b7944b3854319e4928.tar.gz |
bitbake: Update to latest bitbake-1.8 branch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2651 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 = {} |