mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00
fix(rdv3): handle invalid build combination
`CTX_INCLUDE_SVE_REGS` should not be enabled when building with SPD=spmd and SPMD_SPM_AT_SEL2=1 both been used. Unfortunately a check at top level makefile ignored this, now its been fixed at top level makefile. Ensure correct combination are handled, otherwise it will lead to build failures. Change-Id: Ib84fc0096c92d9b3d56366c0e1d77b6d83098221 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
This commit is contained in:
parent
a0effb9189
commit
fe488c3796
1 changed files with 12 additions and 2 deletions
|
@ -169,4 +169,14 @@ override ENABLE_FEAT_MTE2 := 2
|
||||||
|
|
||||||
# FEAT_SVE related flags
|
# FEAT_SVE related flags
|
||||||
override SVE_VECTOR_LEN := 128
|
override SVE_VECTOR_LEN := 128
|
||||||
|
|
||||||
override CTX_INCLUDE_SVE_REGS := 1
|
override CTX_INCLUDE_SVE_REGS := 1
|
||||||
|
|
||||||
|
# Enabling CTX_INCLUDE_SVE_REGS along with SPMD_SPM_AT_SEL2=1 is a invalid
|
||||||
|
# combination and will lead to build failure, use them only when SPMD_SPM_AT_SEL2=0
|
||||||
|
# In this combination its SPMC responsbility to save SVE regs.
|
||||||
|
ifeq (${SPD},spmd)
|
||||||
|
ifeq (${SPMD_SPM_AT_SEL2},1)
|
||||||
|
override CTX_INCLUDE_SVE_REGS := 0
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue