diff options
| -rwxr-xr-x | bitbake/bin/bitbake-layers | 2 | ||||
| -rw-r--r-- | bitbake/lib/bb/tinfoil.py | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index 04e6bec251..d184011ea6 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers | |||
| @@ -90,7 +90,7 @@ def main(): | |||
| 90 | 90 | ||
| 91 | if getattr(args, 'parserecipes', False): | 91 | if getattr(args, 'parserecipes', False): |
| 92 | tinfoil.config_data.disableTracking() | 92 | tinfoil.config_data.disableTracking() |
| 93 | tinfoil.parseRecipes() | 93 | tinfoil.parse_recipes() |
| 94 | tinfoil.config_data.enableTracking() | 94 | tinfoil.config_data.enableTracking() |
| 95 | 95 | ||
| 96 | return args.func(args) | 96 | return args.func(args) |
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index 65ebdc2b78..ddc7b062a0 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
| @@ -289,7 +289,13 @@ class Tinfoil: | |||
| 289 | 289 | ||
| 290 | def parseRecipes(self): | 290 | def parseRecipes(self): |
| 291 | """ | 291 | """ |
| 292 | Force a parse of all recipes. Normally you should specify | 292 | Legacy function - use parse_recipes() instead. |
| 293 | """ | ||
| 294 | self.parse_recipes() | ||
| 295 | |||
| 296 | def parse_recipes(self): | ||
| 297 | """ | ||
| 298 | Load information on all recipes. Normally you should specify | ||
| 293 | config_only=False when calling prepare() instead of using this | 299 | config_only=False when calling prepare() instead of using this |
| 294 | function; this function is designed for situations where you need | 300 | function; this function is designed for situations where you need |
| 295 | to initialise Tinfoil and use it with config_only=True first and | 301 | to initialise Tinfoil and use it with config_only=True first and |
