bitbake build.py: Use localdata for stamp handling, not d

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-01-06 19:40:41 +00:00
parent 81e29fbfac
commit 4a10a5b438
1 changed files with 2 additions and 2 deletions

View File

@ -352,8 +352,8 @@ def _exec_task(fn, task, d, quieterr):
bb.utils.remove(loglink)
event.fire(TaskSucceeded(task, localdata), localdata)
if not d.getVarFlag(task, 'nostamp') and not d.getVarFlag(task, 'selfstamp'):
make_stamp(task, d)
if not localdata.getVarFlag(task, 'nostamp') and not localdata.getVarFlag(task, 'selfstamp'):
make_stamp(task, localdata)
return 0