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/event.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bitbake/lib/bb/event.py') diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 6ccd4bdc38..1462382f10 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py @@ -358,6 +358,12 @@ class OperationProgress(Event): class ConfigParsed(Event): """Configuration Parsing Complete""" +class MultiConfigParsed(Event): + """Multi-Config Parsing Complete""" + def __init__(self, mcdata): + self.mcdata = mcdata + Event.__init__(self) + class RecipeEvent(Event): def __init__(self, fn): self.fn = fn -- cgit v1.2.3-54-g00ecf