From bca4396106a51c7eba1da5fcbaba5e4e4964ca91 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 6 Jul 2017 12:53:33 +0100 Subject: 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 --- bitbake/lib/bb/cookerdata.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/cookerdata.py') 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): 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 -- cgit v1.2.3-54-g00ecf