mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
fix(sptool): fix concurrency issue for SP packages
Add dependency between rules to generate SP packages and their dtb files to ensure the dtb files are built before the sptool attempts to generate the SP package. Change-Id: I071806f4aa09f39132e3e1990c91d71dc9acd728 Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
This commit is contained in:
parent
65a5e1c04d
commit
0aaa382fe2
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def gen_sptool_args(sp_layout, sp, args :dict):
|
|||
sptool_args += f" --img-offset {image_offset}" if image_offset is not None else ""
|
||||
sptool_args += f" -o {sp_pkg}"
|
||||
sppkg_rule = f'''
|
||||
{sp_pkg}:
|
||||
{sp_pkg}: {sp_dtb}
|
||||
\t$(Q)echo Generating {sp_pkg}
|
||||
\t$(Q)$(PYTHON) $(SPTOOL) {sptool_args}
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue