diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 17:30:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 22:43:46 +0100 |
commit | b8321c5658124c50009a3c4dbead2df49e662812 (patch) | |
tree | 9493804fd8095e9f3f45804bd678abf6097e4008 /bitbake/lib/bb/event.py | |
parent | af93b8937e0eab940879646f579948d814faeb2b (diff) | |
download | poky-b8321c5658124c50009a3c4dbead2df49e662812.tar.gz |
bitbake/event/ast: Add RecipePreFinalise event
One of the implications is we need to register the event handlers before
executing the anonymous python functions. I can't find any issue with making
that change in any existing metadata use cases.
(Bitbake rev: a981df3cc9bf410d24f39919959952bdc6c76d03)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index a3288b619b..7d47edb9e7 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -206,13 +206,17 @@ def getName(e): | |||
206 | class ConfigParsed(Event): | 206 | class ConfigParsed(Event): |
207 | """Configuration Parsing Complete""" | 207 | """Configuration Parsing Complete""" |
208 | 208 | ||
209 | class RecipeParsed(Event): | 209 | class RecipeEvent(Event): |
210 | """ Recipe Parsing Complete """ | ||
211 | |||
212 | def __init__(self, fn): | 210 | def __init__(self, fn): |
213 | self.fn = fn | 211 | self.fn = fn |
214 | Event.__init__(self) | 212 | Event.__init__(self) |
215 | 213 | ||
214 | class RecipePreFinalise(RecipeEvent): | ||
215 | """ Recipe Parsing Complete but not yet finialised""" | ||
216 | |||
217 | class RecipeParsed(RecipeEvent): | ||
218 | """ Recipe Parsing Complete """ | ||
219 | |||
216 | class StampUpdate(Event): | 220 | class StampUpdate(Event): |
217 | """Trigger for any adjustment of the stamp files to happen""" | 221 | """Trigger for any adjustment of the stamp files to happen""" |
218 | 222 | ||