diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-05 10:09:13 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-12 14:41:31 +0100 |
commit | dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e (patch) | |
tree | 3048b478068aa9cf6f0de6773f98390eed5504f2 /bitbake/lib | |
parent | a525b27d00087bde0835a2d762ad590329319891 (diff) | |
download | poky-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.tar.gz |
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')
-rw-r--r-- | bitbake/lib/bb/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): | |||
281 | data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata) | 281 | data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata) |
282 | data.update_data(localdata) | 282 | data.update_data(localdata) |
283 | data.expandKeys(localdata) | 283 | data.expandKeys(localdata) |
284 | data.setVar('BB_CURRENTTASK', task[3:], d) | ||
284 | event.fire(TaskStarted(task, localdata), localdata) | 285 | event.fire(TaskStarted(task, localdata), localdata) |
285 | prefuncs = (data.getVarFlag(task, 'prefuncs', localdata) or "").split() | 286 | prefuncs = (data.getVarFlag(task, 'prefuncs', localdata) or "").split() |
286 | for func in prefuncs: | 287 | for func in prefuncs: |