diff options
| author | Joshua Lock <josh@linux.intel.com> | 2011-07-14 15:25:59 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-26 13:50:05 +0100 |
| commit | ba3aef9b06c5fdb2b9cc5bf43915886f3fa313a7 (patch) | |
| tree | 8e66ce9874f22aba0ce099b80a8dcfe66c31382a /bitbake/lib/bb/command.py | |
| parent | 0828e6c481ffdf67e1d893025f2233ac6a4b0b46 (diff) | |
| download | poky-ba3aef9b06c5fdb2b9cc5bf43915886f3fa313a7.tar.gz | |
command|cooker: Add reparseFiles command
Add command reparseFiles to reparse bb files in a running cooker instance.
Fixes [YOCTO #1249]
(Bitbake rev: de035ad99feb7644f99ad54804bf9f98cc776877)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index a902da2ce8..893a6d9070 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -311,6 +311,14 @@ class CommandsAsync: | |||
| 311 | command.finishAsyncCommand() | 311 | command.finishAsyncCommand() |
| 312 | parseFiles.needcache = True | 312 | parseFiles.needcache = True |
| 313 | 313 | ||
| 314 | def reparseFiles(self, command, params): | ||
| 315 | """ | ||
| 316 | Reparse .bb files | ||
| 317 | """ | ||
| 318 | command.cooker.reparseFiles() | ||
| 319 | command.finishAsyncCommand() | ||
| 320 | reparseFiles.needcache = True | ||
| 321 | |||
| 314 | def compareRevisions(self, command, params): | 322 | def compareRevisions(self, command, params): |
| 315 | """ | 323 | """ |
| 316 | Parse the .bb files | 324 | Parse the .bb files |
