summaryrefslogtreecommitdiffstats
path: root/bitbake/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-08 13:29:54 +0100
commitbca4396106a51c7eba1da5fcbaba5e4e4964ca91 (patch)
tree95433a53454f13095c3926446ea4b68587467ad5 /bitbake/lib/bb/cookerdata.py
parent754c03006943a219ffd417c36ab909b464f57f67 (diff)
downloadpoky-bca4396106a51c7eba1da5fcbaba5e4e4964ca91.tar.gz
bitbake: 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. (Bitbake rev: 160e47f5df90850e64dcb857c81a5039abc9235f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cookerdata.py')
-rw-r--r--bitbake/lib/bb/cookerdata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 4d32aa0318..644bb383e8 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -294,6 +294,8 @@ class CookerDataBuilder(object):
294 mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config) 294 mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
295 bb.event.fire(bb.event.ConfigParsed(), mcdata) 295 bb.event.fire(bb.event.ConfigParsed(), mcdata)
296 self.mcdata[config] = mcdata 296 self.mcdata[config] = mcdata
297 if multiconfig:
298 bb.event.fire(bb.event.MultiConfigParsed(self.mcdata), self.data)
297 299
298 except (SyntaxError, bb.BBHandledException): 300 except (SyntaxError, bb.BBHandledException):
299 raise bb.BBHandledException 301 raise bb.BBHandledException