diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-10 10:55:48 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-05 15:53:09 +0100 |
| commit | 001a555c2f755d4f8a69b113656d9307ca7ee597 (patch) | |
| tree | e922c20761aba54b8f150cf64cfa215d27ea15d1 /bitbake/lib/bb/ui/knotty.py | |
| parent | c8928e93dd8a08d6768623f6491c9ba31d0aa06f (diff) | |
| download | poky-001a555c2f755d4f8a69b113656d9307ca7ee597.tar.gz | |
bitbake/cache.py: Ensure skipped recipes make it into the cache to avoid reparsing
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 042dbe902c..f330c084df 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -150,12 +150,17 @@ def main(server, eventHandler): | |||
| 150 | logger.info(event._message) | 150 | logger.info(event._message) |
| 151 | continue | 151 | continue |
| 152 | if isinstance(event, bb.event.ParseStarted): | 152 | if isinstance(event, bb.event.ParseStarted): |
| 153 | if event.total == 0: | ||
| 154 | continue | ||
| 153 | parseprogress = new_progress("Parsing recipes", event.total).start() | 155 | parseprogress = new_progress("Parsing recipes", event.total).start() |
| 154 | continue | 156 | continue |
| 155 | if isinstance(event, bb.event.ParseProgress): | 157 | if isinstance(event, bb.event.ParseProgress): |
| 156 | parseprogress.update(event.current) | 158 | parseprogress.update(event.current) |
| 157 | continue | 159 | continue |
| 158 | if isinstance(event, bb.event.ParseCompleted): | 160 | if isinstance(event, bb.event.ParseCompleted): |
| 161 | if not parseprogress: | ||
| 162 | continue | ||
| 163 | |||
| 159 | parseprogress.finish() | 164 | parseprogress.finish() |
| 160 | print(("Parsing of %d .bb files complete (%d cached, %d parsed). %d targets, %d skipped, %d masked, %d errors." | 165 | print(("Parsing of %d .bb files complete (%d cached, %d parsed). %d targets, %d skipped, %d masked, %d errors." |
| 161 | % ( event.total, event.cached, event.parsed, event.virtuals, event.skipped, event.masked, event.errors))) | 166 | % ( event.total, event.cached, event.parsed, event.virtuals, event.skipped, event.masked, event.errors))) |
