diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-11-04 19:06:40 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-11-04 19:06:40 +0000 |
commit | 812f39806107aa4c7e1154ae55f33731092d8854 (patch) | |
tree | e1ffe2800ea4662b2d5e10a8c7118409f663a194 /lib/bb/shell.py | |
parent | b4e6c51d376a78b357df1e31b3338326a03063e8 (diff) | |
download | bitbake-812f39806107aa4c7e1154ae55f33731092d8854.tar.gz |
shell.py: Add support for the abort flag
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r-- | lib/bb/shell.py | 5 |
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 |