diff options
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
| -rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 9a9fe6f2d8..c1696b2a31 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
| @@ -226,11 +226,19 @@ def main(server, eventHandler, params ): | |||
| 226 | 226 | ||
| 227 | buildinfohelper.update_build_information(event, errors, warnings, taskfailures) | 227 | buildinfohelper.update_build_information(event, errors, warnings, taskfailures) |
| 228 | 228 | ||
| 229 | |||
| 230 | brbe = server.runCommand(["getVariable", "TOASTER_BRBE"])[0] | ||
| 229 | # we start a new build info | 231 | # we start a new build info |
| 230 | errors = 0 | 232 | if brbe is not None: |
| 231 | warnings = 0 | 233 | print "we are under BuildEnvironment management - after the build, we exit" |
| 232 | taskfailures = [] | 234 | server.terminateServer() |
| 233 | buildinfohelper = BuildInfoHelper(server, build_history_enabled) | 235 | else: |
| 236 | print "prepared for new build" | ||
| 237 | errors = 0 | ||
| 238 | warnings = 0 | ||
| 239 | taskfailures = [] | ||
| 240 | buildinfohelper = BuildInfoHelper(server, build_history_enabled) | ||
| 241 | |||
| 234 | continue | 242 | continue |
| 235 | 243 | ||
| 236 | if isinstance(event, bb.event.MetadataEvent): | 244 | if isinstance(event, bb.event.MetadataEvent): |
