From 332c33af188c14dd0051d8a45fe0ad680611db69 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 3 Aug 2010 14:30:20 +0100 Subject: bitbake/data.py: Add emit_func() and generate_dependencies() functions These functions allow generation of dependency data between funcitons and variables allowing moves to be made towards generating checksums and allowing use of the dependency information in other parts of bitbake. Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/ast.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/parse') diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 8763362cd..3c341b0c7 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py @@ -323,6 +323,8 @@ def finalize(fn, d): tasklist = bb.data.getVar('__BBTASKS', d) or [] bb.build.add_tasks(tasklist, d) + #bb.data.generate_dependencies(d) + bb.event.fire(bb.event.RecipeParsed(fn), d) def _create_variants(datastores, names, function): -- cgit v1.2.3