mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-07 13:23:55 +00:00
fix(build): run sp_mk_gen.py with poetry
If Poetry is available in the build environment, use Poetry when running sp_mk_gen.py script. This ensures dependencies that are needed to run the script are accounted for. Needed to successfully run the following config: spm-l2-boot-tests/fvp-default,fvp-spm-optee-sp,fvp-default: \ fvp-spm.optee.sp Change-Id: Icca4249dab929f1bcf5f4454d472cf6923e3ee17 Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
This commit is contained in:
parent
3553087796
commit
dd81623577
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1658,7 +1658,8 @@ endif #(NEED_FDT)
|
|||
# Add Secure Partition packages
|
||||
ifeq (${NEED_SP_PKG},yes)
|
||||
$(BUILD_PLAT)/sp_gen.mk: ${SP_MK_GEN} ${SP_LAYOUT_FILE} | $$(@D)/
|
||||
$(q)${PYTHON} "$<" "$@" $(filter-out $<,$^) $(BUILD_PLAT) ${COT} ${SP_DTS_LIST_FRAGMENT}
|
||||
$(if $(host-poetry),$(q)poetry -q install)
|
||||
$(q)$(if $(host-poetry),poetry run )${PYTHON} "$<" "$@" $(filter-out $<,$^) $(BUILD_PLAT) ${COT} ${SP_DTS_LIST_FRAGMENT}
|
||||
sp: $(DTBS) $(BUILD_PLAT)/sp_gen.mk $(SP_PKGS)
|
||||
$(s)echo
|
||||
$(s)echo "Built SP Images successfully"
|
||||
|
|
Loading…
Add table
Reference in a new issue