From 631229df720dc88047b702452c7ad172421cc1e4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 12 Jan 2017 13:25:36 +0000 Subject: bitbake: event/ast: Add RecipeTaskPreProcess event before task finalisation There are various pieces of code which need to run after the tasks are finalised but before bitbake locks in on the task dependencies. This adds such an event so dependency changes in anonymous python can be accounted for and acted upon by these specific event handlers. (Bitbake rev: 4dcd0e53f5ff4bf4f2d6cbdc51ff33a5f5f206af) Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/ast.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/parse/ast.py') diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 853dda86b4..8b5b36619d 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py @@ -358,6 +358,7 @@ def finalize(fn, d, variant = None): bb.data.update_data(d) tasklist = d.getVar('__BBTASKS', False) or [] + bb.event.fire(bb.event.RecipeTaskPreProcess(fn, list(tasklist)), d) bb.build.add_tasks(tasklist, d) bb.parse.siggen.finalise(fn, d, variant) -- cgit v1.2.3-54-g00ecf