From: Richard Purdie Date: Thu, 5 Aug 2010 09:09:13 +0000 (+0100) Subject: bitbake/build.py: Set the current taskname in the BB_CURRENTTASK variable X-Git-Tag: 2011-1~4955 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e;p=openembedded-core.git bitbake/build.py: Set the current taskname in the BB_CURRENTTASK variable Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 0b974ebc2a..5e90d22180 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: