aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/cookerdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-06 12:53:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-06 16:46:16 +0100
commit160e47f5df90850e64dcb857c81a5039abc9235f (patch)
tree54ae9e2ae7e1bfb87f8fd4002f623cd3bd40d3c4 /lib/bb/cookerdata.py
parent877a1f476212dc151b74ce0f1febdc48956ef0e9 (diff)
downloadbitbake-160e47f5df90850e64dcb857c81a5039abc9235f.tar.gz
bitbake: Add MultiConfigParsed event
There are some cases where the metadata needs to be aware a multiconfig build is happening and have access to the multiconfig data stores to merge data into the common build. This adds such an event allowing access to these datastores. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cookerdata.py')
-rw-r--r--lib/bb/cookerdata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py
index 4d32aa031..644bb383e 100644
--- a/lib/bb/cookerdata.py
+++ b/lib/bb/cookerdata.py
@@ -294,6 +294,8 @@ class CookerDataBuilder(object):
mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), mcdata)
self.mcdata[config] = mcdata
+ if multiconfig:
+ bb.event.fire(bb.event.MultiConfigParsed(self.mcdata), self.data)
except (SyntaxError, bb.BBHandledException):
raise bb.BBHandledException