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(): if getattr(args, 'parserecipes', False): tinfoil.config_data.disableTracking() - tinfoil.parseRecipes() + tinfoil.parse_recipes() tinfoil.config_data.enableTracking() 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: def parseRecipes(self): """ - Force a parse of all recipes. Normally you should specify + Legacy function - use parse_recipes() instead. + """ + self.parse_recipes() + + def parse_recipes(self): + """ + Load information on all recipes. Normally you should specify config_only=False when calling prepare() instead of using this function; this function is designed for situations where you need to initialise Tinfoil and use it with config_only=True first and