summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 1164ee6014..7d53608b21 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -617,7 +617,7 @@ class Tinfoil:
617 fn = self.get_recipe_file(pn) 617 fn = self.get_recipe_file(pn)
618 return self.parse_recipe_file(fn) 618 return self.parse_recipe_file(fn)
619 619
620 def parse_recipe_file(self, fn, appends=True, appendlist=None): 620 def parse_recipe_file(self, fn, appends=True, appendlist=None, config_data=None):
621 """ 621 """
622 Parse the specified recipe file (with or without bbappends) 622 Parse the specified recipe file (with or without bbappends)
623 and return a datastore object representing the environment 623 and return a datastore object representing the environment
@@ -635,7 +635,10 @@ class Tinfoil:
635 try: 635 try:
636 if appends and appendlist == []: 636 if appends and appendlist == []:
637 appends = False 637 appends = False
638 dscon = self.run_command('parseRecipeFile', fn, appends, appendlist) 638 if config_data:
639 dscon = self.run_command('parseRecipeFile', fn, appends, appendlist, config_data.dsindex)
640 else:
641 dscon = self.run_command('parseRecipeFile', fn, appends, appendlist)
639 if dscon: 642 if dscon:
640 return self._reconvert_type(dscon, 'DataStoreConnectionHandle') 643 return self._reconvert_type(dscon, 'DataStoreConnectionHandle')
641 else: 644 else: