diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index ac9758d402..53f88b253c 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1088,7 +1088,9 @@ class CookerParser(object): | |||
1088 | if info.skipped: | 1088 | if info.skipped: |
1089 | self.skipped += 1 | 1089 | self.skipped += 1 |
1090 | finally: | 1090 | finally: |
1091 | bb.event.fire(bb.event.ParseProgress(self.current), self.cfgdata) | 1091 | # only fire events on percentage boundaries |
1092 | if self.current % (self.total/100) == 0: | ||
1093 | bb.event.fire(bb.event.ParseProgress(self.current), self.cfgdata) | ||
1092 | 1094 | ||
1093 | self.current += 1 | 1095 | self.current += 1 |
1094 | return True | 1096 | return True |