diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index f1abaf70d2..21a6de0f62 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -145,6 +145,15 @@ class CommandsSync: | |||
| 145 | """ | 145 | """ |
| 146 | command.cooker.shutdown(True) | 146 | command.cooker.shutdown(True) |
| 147 | 147 | ||
| 148 | def getAllKeysWithFlags(self, command, params): | ||
| 149 | """ | ||
| 150 | Returns a dump of the global state. Call with | ||
| 151 | variable flags to be retrieved as params. | ||
| 152 | """ | ||
| 153 | flaglist = params[0] | ||
| 154 | return command.cooker.getAllKeysWithFlags(flaglist) | ||
| 155 | getAllKeysWithFlags.readonly = True | ||
| 156 | |||
| 148 | def getVariable(self, command, params): | 157 | def getVariable(self, command, params): |
| 149 | """ | 158 | """ |
| 150 | Read the value of a variable from data | 159 | Read the value of a variable from data |
