From patchwork Fri Jan 20 16:15:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] cooker.py: Allow siggen classes to be added by the metadata Date: Fri, 20 Jan 2012 16:15:18 -0000 From: Richard Purdie X-Patchwork-Id: 19831 Message-Id: <1327076118.4268.2.camel@ted> To: bitbake-devel 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. Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 4197a02..927c571 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -855,8 +855,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 ):