diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-19 08:03:09 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:43 +0000 |
commit | 7846d8db11809c82b9ed03aa65bb1aad818b238f (patch) | |
tree | 167ef6ed9b4158f8549f7807e007c1c389412e72 | |
parent | 7c9444e9a58438058ec577bd8c2e51820c98072d (diff) | |
download | poky-7846d8db11809c82b9ed03aa65bb1aad818b238f.tar.gz |
cache: don't add info to cache if cache is disabled
(Bitbake rev: f12bb303f3d86a68d0b3dda1112dd654b9251704)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/cache.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 3edd80ec3b..5adce594f0 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -419,6 +419,9 @@ class Cache(object): | |||
419 | 419 | ||
420 | def add_info(self, filename, info, cacheData, parsed=None): | 420 | def add_info(self, filename, info, cacheData, parsed=None): |
421 | cacheData.add_from_recipeinfo(filename, info) | 421 | cacheData.add_from_recipeinfo(filename, info) |
422 | if not self.has_cache: | ||
423 | return | ||
424 | |||
422 | if 'SRCREVINACTION' not in info.pv and not info.nocache: | 425 | if 'SRCREVINACTION' not in info.pv and not info.nocache: |
423 | if parsed: | 426 | if parsed: |
424 | self.cacheclean = False | 427 | self.cacheclean = False |