diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-06 12:53:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-06 16:46:16 +0100 |
commit | 160e47f5df90850e64dcb857c81a5039abc9235f (patch) | |
tree | 54ae9e2ae7e1bfb87f8fd4002f623cd3bd40d3c4 /lib/bb/cookerdata.py | |
parent | 877a1f476212dc151b74ce0f1febdc48956ef0e9 (diff) | |
download | bitbake-contrib-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.py | 2 |
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 |