diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-21 21:20:44 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-21 21:20:44 +0000 |
commit | 7b6f1b8aed3aa80d56d172f93e5c461cb9009c3f (patch) | |
tree | bdc5705fed7b44c3ae06df6dd914bcbc47972e97 /bitbake/lib/bb/build.py | |
parent | 9d81637f62685fa9cfd7003b434c70a458f1a06b (diff) | |
download | poky-7b6f1b8aed3aa80d56d172f93e5c461cb9009c3f.tar.gz |
build.py: Fix task override handling (breaks compatibility but it didn't work at all before)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index b4efd269fd..7644bf0ee7 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -271,7 +271,7 @@ def exec_task(task, d): | |||
271 | bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task) | 271 | bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task) |
272 | old_overrides = data.getVar('OVERRIDES', d, 0) | 272 | old_overrides = data.getVar('OVERRIDES', d, 0) |
273 | localdata = data.createCopy(d) | 273 | localdata = data.createCopy(d) |
274 | data.setVar('OVERRIDES', 'task_%s:%s' % (task, old_overrides), localdata) | 274 | data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata) |
275 | data.update_data(localdata) | 275 | data.update_data(localdata) |
276 | data.expandKeys(localdata) | 276 | data.expandKeys(localdata) |
277 | event.fire(TaskStarted(task, localdata)) | 277 | event.fire(TaskStarted(task, localdata)) |