diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index e30d21d379..3788207122 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -257,6 +257,13 @@ class CommandsSync: | |||
| 257 | mask = params[3] | 257 | mask = params[3] |
| 258 | return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask) | 258 | return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask) |
| 259 | 259 | ||
| 260 | def setFeatures(self, command, params): | ||
| 261 | """ | ||
| 262 | Set the cooker features to include the passed list of features | ||
| 263 | """ | ||
| 264 | features = params[0] | ||
| 265 | command.cooker.setFeatures(features) | ||
| 266 | |||
| 260 | class CommandsAsync: | 267 | class CommandsAsync: |
| 261 | """ | 268 | """ |
| 262 | A class of asynchronous commands | 269 | A class of asynchronous commands |
