From dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 5 Aug 2010 10:09:13 +0100 Subject: bitbake/build.py: Set the current taskname in the BB_CURRENTTASK variable Signed-off-by: Richard Purdie --- bitbake/lib/bb/build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 0b974ebc2..5e90d2218 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -281,6 +281,7 @@ def exec_task(task, d): data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata) data.update_data(localdata) data.expandKeys(localdata) + data.setVar('BB_CURRENTTASK', task[3:], d) event.fire(TaskStarted(task, localdata), localdata) prefuncs = (data.getVarFlag(task, 'prefuncs', localdata) or "").split() for func in prefuncs: -- cgit v1.2.3