mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
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>
This commit is contained in:
@@ -373,7 +373,7 @@ def exec_task(fn, task, d):
|
||||
event.fire(failedevent, d)
|
||||
return 1
|
||||
|
||||
def stamp_internal(task, d, file_name):
|
||||
def stamp_internal(taskname, d, file_name):
|
||||
"""
|
||||
Internal stamp helper function
|
||||
Makes sure the stamp directory exists
|
||||
@@ -386,11 +386,12 @@ def stamp_internal(task, d, file_name):
|
||||
stamp = d.stamp[file_name]
|
||||
else:
|
||||
stamp = d.getVar('STAMP', True)
|
||||
file_name = d.getVar('BB_FILENAME', True)
|
||||
|
||||
if not stamp:
|
||||
return
|
||||
|
||||
stamp = "%s.%s" % (stamp, task)
|
||||
stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname)
|
||||
|
||||
bb.utils.mkdirhier(os.path.dirname(stamp))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user