]> code.ossystems Code Review - openembedded-core.git/commitdiff
cooker: don't add info for skipped recipes
authorChris Larson <chris_larson@mentor.com>
Mon, 22 Nov 2010 21:13:52 +0000 (14:13 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:44 +0000 (14:46 +0000)
(Bitbake rev: ac596d55de4ad86e1cdc84dabfea1350dd54efd0)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cooker.py

index e40ec3dceb29724d1206df586ac8abc849cde06f..4b52108eaf70592f6efc7468f67a4fd13663a853 100644 (file)
@@ -1084,10 +1084,11 @@ class CookerParser(object):
             self.virtuals += len(infos)
 
             for virtualfn, info in infos:
-                self.bb_cache.add_info(virtualfn, info, self.cooker.status,
-                                       parsed=parsed)
                 if info.skipped:
                     self.skipped += 1
+                else:
+                    self.bb_cache.add_info(virtualfn, info, self.cooker.status,
+                                           parsed=parsed)
         finally:
             # only fire events on percentage boundaries
             if self.current % self.progress_chunk == 0: