diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index ee138a914a..1d0ae463c1 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -268,7 +268,7 @@ def exec_func_shell(func, d, runfile, logfile, flags): | |||
268 | raise FuncFailed("function %s failed" % func, logfile) | 268 | raise FuncFailed("function %s failed" % func, logfile) |
269 | 269 | ||
270 | 270 | ||
271 | def exec_task(task, d): | 271 | def exec_task(fn, task, d): |
272 | """Execute an BB 'task' | 272 | """Execute an BB 'task' |
273 | 273 | ||
274 | The primary difference between executing a task versus executing | 274 | The primary difference between executing a task versus executing |
@@ -292,6 +292,7 @@ def exec_task(task, d): | |||
292 | data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata) | 292 | data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata) |
293 | data.update_data(localdata) | 293 | data.update_data(localdata) |
294 | data.expandKeys(localdata) | 294 | data.expandKeys(localdata) |
295 | data.setVar('BB_FILENAME', fn, d) | ||
295 | data.setVar('BB_CURRENTTASK', task[3:], d) | 296 | data.setVar('BB_CURRENTTASK', task[3:], d) |
296 | event.fire(TaskStarted(task, localdata), localdata) | 297 | event.fire(TaskStarted(task, localdata), localdata) |
297 | prefuncs = (data.getVarFlag(task, 'prefuncs', localdata) or "").split() | 298 | prefuncs = (data.getVarFlag(task, 'prefuncs', localdata) or "").split() |