summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-20 16:15:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-20 16:41:56 +0000
commit69fd5ad4a8402fab5eb8348260966b337c5648ff (patch)
tree04247a0131e889753a5bd173b7cabfecefb0fce6
parent721e986624529aedef96dd06c9fe6243f2897b10 (diff)
downloadbitbake-69fd5ad4a8402fab5eb8348260966b337c5648ff.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index cbac1f73e..b6bd7400f 100644
--- a/lib/bb/cooker.py
+++ b/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 ):