diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 05803d6af0..0e0a35af69 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -312,6 +312,38 @@ class CommandsSync: | |||
| 312 | return command.cooker.recipecaches[mc].pkg_pepvpr | 312 | return command.cooker.recipecaches[mc].pkg_pepvpr |
| 313 | getRecipeVersions.readonly = True | 313 | getRecipeVersions.readonly = True |
| 314 | 314 | ||
| 315 | def getRecipeProvides(self, command, params): | ||
| 316 | try: | ||
| 317 | mc = params[0] | ||
| 318 | except IndexError: | ||
| 319 | mc = '' | ||
| 320 | return command.cooker.recipecaches[mc].fn_provides | ||
| 321 | getRecipeProvides.readonly = True | ||
| 322 | |||
| 323 | def getRecipePackages(self, command, params): | ||
| 324 | try: | ||
| 325 | mc = params[0] | ||
| 326 | except IndexError: | ||
| 327 | mc = '' | ||
| 328 | return command.cooker.recipecaches[mc].packages | ||
| 329 | getRecipePackages.readonly = True | ||
| 330 | |||
| 331 | def getRecipePackagesDynamic(self, command, params): | ||
| 332 | try: | ||
| 333 | mc = params[0] | ||
| 334 | except IndexError: | ||
| 335 | mc = '' | ||
| 336 | return command.cooker.recipecaches[mc].packages_dynamic | ||
| 337 | getRecipePackagesDynamic.readonly = True | ||
| 338 | |||
| 339 | def getRProviders(self, command, params): | ||
| 340 | try: | ||
| 341 | mc = params[0] | ||
| 342 | except IndexError: | ||
| 343 | mc = '' | ||
| 344 | return command.cooker.recipecaches[mc].rproviders | ||
| 345 | getRProviders.readonly = True | ||
| 346 | |||
| 315 | def getRuntimeDepends(self, command, params): | 347 | def getRuntimeDepends(self, command, params): |
| 316 | ret = [] | 348 | ret = [] |
| 317 | try: | 349 | try: |
