summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/command.py')
-rw-r--r--bitbake-dev/lib/bb/command.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py
index 9226a2772f..e7c3770ffc 100644
--- a/bitbake-dev/lib/bb/command.py
+++ b/bitbake-dev/lib/bb/command.py
@@ -233,6 +233,14 @@ class CommandsAsync:
233 command.finishAsyncCommand() 233 command.finishAsyncCommand()
234 parseFiles.needcache = True 234 parseFiles.needcache = True
235 235
236 def compareRevisions(self, command, params):
237 """
238 Parse the .bb files
239 """
240 command.cooker.compareRevisions()
241 command.finishAsyncCommand()
242 compareRevisions.needcache = True
243
236# 244#
237# Events 245# Events
238# 246#
@@ -251,3 +259,14 @@ class CookerCommandFailed(bb.event.Event):
251 def __init__(self, data, error): 259 def __init__(self, data, error):
252 bb.event.Event.__init__(self, data) 260 bb.event.Event.__init__(self, data)
253 self.error = error 261 self.error = error
262
263class CookerCommandSetExitCode(bb.event.Event):
264 """
265 Set the exit code for a cooker command
266 """
267 def __init__(self, data, exitcode):
268 bb.event.Event.__init__(self, data)
269 self.exitcode = int(exitcode)
270
271
272