summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-05 10:09:13 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 14:41:31 +0100
commitdfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e (patch)
tree3048b478068aa9cf6f0de6773f98390eed5504f2 /bitbake/lib/bb
parenta525b27d00087bde0835a2d762ad590329319891 (diff)
downloadopenembedded-core-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.tar.gz
openembedded-core-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.tar.bz2
openembedded-core-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.tar.xz
openembedded-core-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.zip
bitbake/build.py: Set the current taskname in the BB_CURRENTTASK variable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/build.py1
1 files changed, 1 insertions, 0 deletions
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: