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 893a6d9070..41796f629e 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -172,6 +172,13 @@ class CommandsSync: | |||
172 | value = params[1] | 172 | value = params[1] |
173 | bb.data.setVar(varname, value, command.cooker.configuration.data) | 173 | bb.data.setVar(varname, value, command.cooker.configuration.data) |
174 | 174 | ||
175 | def resetCooker(self, command, params): | ||
176 | """ | ||
177 | Reset the cooker to its initial state, thus forcing a reparse for | ||
178 | any async command that has the needcache property set to True | ||
179 | """ | ||
180 | command.cooker.reset() | ||
181 | |||
175 | 182 | ||
176 | class CommandsAsync: | 183 | class CommandsAsync: |
177 | """ | 184 | """ |