summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index ac9758d40..53f88b253 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1088,7 +1088,9 @@ class CookerParser(object):
if info.skipped:
self.skipped += 1
finally:
- bb.event.fire(bb.event.ParseProgress(self.current), self.cfgdata)
+ # only fire events on percentage boundaries
+ if self.current % (self.total/100) == 0:
+ bb.event.fire(bb.event.ParseProgress(self.current), self.cfgdata)
self.current += 1
return True