diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 21:23:54 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 21:23:54 +0800 |
commit | 05ba6fc7cb5a389737a238f312f4148e6b837d71 (patch) | |
tree | 7b0d8688095f94fd2010c63f0b0aadff301eccbf /bitbake/bin | |
parent | 89929e1f283c8508c505c9731ad933880abf22a1 (diff) | |
download | openembedded-core-05ba6fc7cb5a389737a238f312f4148e6b837d71.tar.gz openembedded-core-05ba6fc7cb5a389737a238f312f4148e6b837d71.tar.bz2 openembedded-core-05ba6fc7cb5a389737a238f312f4148e6b837d71.tar.xz openembedded-core-05ba6fc7cb5a389737a238f312f4148e6b837d71.zip |
bitbake: Rewrite profiling code so its functional for both none and xmlrpc backends
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index b046156b4..797b5a8d6 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -180,7 +180,7 @@ Default BBFILES are the .bb files in the current directory.""") serverinfo = server.BitbakeServerInfo(cooker.server) - server.BitBakeServerFork(serverinfo, cooker.serve, cooker_logfile) + server.BitBakeServerFork(cooker, cooker.server, serverinfo, cooker_logfile) del cooker # Setup a connection to the server (cooker) @@ -203,7 +203,7 @@ Default BBFILES are the .bb files in the current directory.""") print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.") else: try: - return_value = ui_init(serverConnection.connection, serverConnection.events) + return_value = server.BitbakeUILauch().launch(serverinfo, ui_init, serverConnection.connection, serverConnection.events) except Exception as e: print("FATAL: Unable to start to '%s' UI: %s" % (ui, e)) raise |