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 | |
parent | a525b27d00087bde0835a2d762ad590329319891 (diff) | |
download | openembedded-core-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.tar.gz openembedded-core-dfd7e1f76b30219f3fe30dfe60fcfc6daf6daf9e.tar.bz2 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>
-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): 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: |