]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/build.py: Set the current taskname in the BB_CURRENTTASK variable
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 5 Aug 2010 09:09:13 +0000 (10:09 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 13:41:31 +0000 (14:41 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/build.py

index 0b974ebc2ad92cf2476406161f21830795b2272c..5e90d2218049a732513a1c2958dc665573f82f07 100644 (file)
@@ -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: