From c4a8fab1a42ad9d80541cadab57c8c66f91c04b0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 Jan 2012 16:15:18 +0000 Subject: cooker.py: Allow siggen classes to be added by the metadata By calling init_parser which sets up the siggen code after the ConfigParsed event is fired, we can allow the metadata to add siggen classes which was always what the code intended. (Bitbake rev: 69fd5ad4a8402fab5eb8348260966b337c5648ff) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index cbac1f73e0..b6bd7400fe 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -856,8 +856,8 @@ class BBCooker: if data.getVar("BB_WORKERCONTEXT", False) is None: bb.fetch.fetcher_init(data) bb.codeparser.parser_cache_init(data) - bb.parse.init_parser(data) bb.event.fire(bb.event.ConfigParsed(), data) + bb.parse.init_parser(data) self.configuration.data = data def handleCollections( self, collections ): -- cgit v1.2.3-54-g00ecf