summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/shell.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py
index f6c8ffb05..192ed022f 100644
--- a/lib/bb/shell.py
+++ b/lib/bb/shell.py
@@ -296,6 +296,11 @@ class BitBakeShellCommands:
print "SHELL: Parsed"
fileReparse.usage = "<bbfile>"
+ def abort( self, params ):
+ """Toggle abort task execution flag (see bitbake -k)"""
+ cooker.configuration.abort = not cooker.configuration.abort
+ print "SHELL: Abort Flag is now '%s'" % repr( cooker.configuration.abort )
+
def force( self, params ):
"""Toggle force task execution flag (see bitbake -f)"""
cooker.configuration.force = not cooker.configuration.force