summaryrefslogtreecommitdiff
path: root/bitbake/bin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-13 21:23:54 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-13 21:23:54 +0800
commit05ba6fc7cb5a389737a238f312f4148e6b837d71 (patch)
tree7b0d8688095f94fd2010c63f0b0aadff301eccbf /bitbake/bin
parent89929e1f283c8508c505c9731ad933880abf22a1 (diff)
downloadopenembedded-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-xbitbake/bin/bitbake4
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