summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-06 19:47:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-06 19:47:03 +0000
commit66c6200ff34e8eeca5d1a689bbf9d6a83818248f (patch)
tree0742e6e9e75424890996031703cc8956b918c513 /bitbake/lib/bb/build.py
parentec6e4793dc79c61b780b74571db4cd66c1c04251 (diff)
downloadpoky-66c6200ff34e8eeca5d1a689bbf9d6a83818248f.tar.gz
bitbake build/siggen/runqueue: Fix stampfile parameters
The current parameters are not useful to the stampfile generator function as they can't uniquely define a task. This updated things so the parameters can identify unique tasks. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 3fc01486ca..968e2ea562 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -373,7 +373,7 @@ def exec_task(fn, task, d):
373 event.fire(failedevent, d) 373 event.fire(failedevent, d)
374 return 1 374 return 1
375 375
376def stamp_internal(task, d, file_name): 376def stamp_internal(taskname, d, file_name):
377 """ 377 """
378 Internal stamp helper function 378 Internal stamp helper function
379 Makes sure the stamp directory exists 379 Makes sure the stamp directory exists
@@ -386,11 +386,12 @@ def stamp_internal(task, d, file_name):
386 stamp = d.stamp[file_name] 386 stamp = d.stamp[file_name]
387 else: 387 else:
388 stamp = d.getVar('STAMP', True) 388 stamp = d.getVar('STAMP', True)
389 file_name = d.getVar('BB_FILENAME', True)
389 390
390 if not stamp: 391 if not stamp:
391 return 392 return
392 393
393 stamp = "%s.%s" % (stamp, task) 394 stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname)
394 395
395 bb.utils.mkdirhier(os.path.dirname(stamp)) 396 bb.utils.mkdirhier(os.path.dirname(stamp))
396 397