diff options
| -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 [] |
