diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-15 16:22:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-27 10:46:33 +0100 |
commit | 4a8b8a405df5a06a23f57f250c297cd39ab7b1a4 (patch) | |
tree | 991915e27d8425fc91e8a2f00ef39db07289c4f1 /bitbake/lib | |
parent | 0156afb7e24172aa7a7e3a044805bf1e006cb46b (diff) | |
download | poky-4a8b8a405df5a06a23f57f250c297cd39ab7b1a4.tar.gz |
bitbake: event/ast: Add RecipePostKeyExpansion event
(Bitbake rev: 5c30cbe35e921f118e7da6b804af281627329d77)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/event.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index d1359f0100..0e6d9b2964 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -389,6 +389,10 @@ class RecipeEvent(Event): | |||
389 | class RecipePreFinalise(RecipeEvent): | 389 | class RecipePreFinalise(RecipeEvent): |
390 | """ Recipe Parsing Complete but not yet finalised""" | 390 | """ Recipe Parsing Complete but not yet finalised""" |
391 | 391 | ||
392 | class RecipePostKeyExpansion(RecipeEvent): | ||
393 | """ Recipe Parsing Complete but not yet finalised""" | ||
394 | |||
395 | |||
392 | class RecipeTaskPreProcess(RecipeEvent): | 396 | class RecipeTaskPreProcess(RecipeEvent): |
393 | """ | 397 | """ |
394 | Recipe Tasks about to be finalised | 398 | Recipe Tasks about to be finalised |
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index eb8cfa21b8..785aa974eb 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -338,6 +338,9 @@ def finalize(fn, d, variant = None): | |||
338 | bb.event.fire(bb.event.RecipePreFinalise(fn), d) | 338 | bb.event.fire(bb.event.RecipePreFinalise(fn), d) |
339 | 339 | ||
340 | bb.data.expandKeys(d) | 340 | bb.data.expandKeys(d) |
341 | |||
342 | bb.event.fire(bb.event.RecipePostKeyExpansion(fn), d) | ||
343 | |||
341 | runAnonFuncs(d) | 344 | runAnonFuncs(d) |
342 | 345 | ||
343 | tasklist = d.getVar('__BBTASKS', False) or [] | 346 | tasklist = d.getVar('__BBTASKS', False) or [] |