diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-03-15 12:10:03 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-03-15 12:10:03 +0000 |
commit | cc88a6c51e26525aed8a0685fc98b197a1c62691 (patch) | |
tree | f09de99e64e686cbf21e4608751236f51926b64e /lib/bb/build.py | |
parent | 45512f91ea2eb3838f12d111001621195931fff0 (diff) | |
download | bitbake-cc88a6c51e26525aed8a0685fc98b197a1c62691.tar.gz |
build.py: Fix incorrect variables (thanks pH5)
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index e5ae2f9ea..ca7cfbc6b 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -267,11 +267,11 @@ def exec_task(task, d): bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task) old_overrides = data.getVar('OVERRIDES', d, 0) localdata = data.createCopy(d) - data.setVar('OVERRIDES', 'task_%s:%s' % (item, old_overrides), localdata) + data.setVar('OVERRIDES', 'task_%s:%s' % (task, old_overrides), localdata) data.update_data(localdata) - event.fire(TaskStarted(item, localdata)) - exec_func(item, localdata) - event.fire(TaskSucceeded(item, localdata)) + event.fire(TaskStarted(task, localdata)) + exec_func(task, localdata) + event.fire(TaskSucceeded(task, localdata)) except FuncFailed, message: # Try to extract the optional logfile try: @@ -280,7 +280,7 @@ def exec_task(task, d): logfile = None msg = message bb.msg.note(1, bb.msg.domain.Build, "Task failed: %s" % message ) - failedevent = TaskFailed(msg, logfile, item, d) + failedevent = TaskFailed(msg, logfile, task, d) event.fire(failedevent) raise EventException("Function failed in task: %s" % message, failedevent) |