diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index ea33693ddb..5cea9dba9d 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -496,6 +496,8 @@ class BBCooker: | |||
496 | def parseConfigurationFiles(self, files): | 496 | def parseConfigurationFiles(self, files): |
497 | try: | 497 | try: |
498 | data = self.configuration.data | 498 | data = self.configuration.data |
499 | |||
500 | bb.parse.init_parser(data) | ||
499 | for f in files: | 501 | for f in files: |
500 | data = bb.parse.handle(f, data) | 502 | data = bb.parse.handle(f, data) |
501 | 503 | ||
@@ -548,6 +550,8 @@ class BBCooker: | |||
548 | bb.fetch.fetcher_init(self.configuration.data) | 550 | bb.fetch.fetcher_init(self.configuration.data) |
549 | bb.codeparser.parser_cache_init(self.configuration.data) | 551 | bb.codeparser.parser_cache_init(self.configuration.data) |
550 | 552 | ||
553 | bb.parse.init_parser(data) | ||
554 | |||
551 | bb.event.fire(bb.event.ConfigParsed(), self.configuration.data) | 555 | bb.event.fire(bb.event.ConfigParsed(), self.configuration.data) |
552 | 556 | ||
553 | except IOError as e: | 557 | except IOError as e: |