refactor(build): move SVE_VECTOR_LEN flag to add_defines section

Presently, we have an explicit section to add definitions, wherein
we evaluate the definitions after being overwritten by the platform.

To keep it aligned with this pattern, SVE_VECTOR_LEN is moved here.

Change-Id: Ia3373d954a7ee97980fe72d5a069e202352f25b1
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
This commit is contained in:
Jayanth Dodderi Chidanand 2023-04-26 15:57:30 +01:00
parent c5e1da836c
commit a8cf6faeae

View file

@ -1040,9 +1040,6 @@ ENABLE_FEAT_RNG = $(if $(findstring rng,${arch-features}),1,0)
# Determine if FEAT_SB is supported
ENABLE_FEAT_SB = $(if $(findstring sb,${arch-features}),1,0)
#SVE_VECTOR_LEN
$(eval $(call add_define,SVE_VECTOR_LEN))
################################################################################
# Process platform overrideable behaviour
################################################################################
@ -1407,6 +1404,7 @@ $(eval $(call add_defines,\
ENABLE_FEAT_TWED \
CONDITIONAL_CMO \
IMPDEF_SYSREG_TRAP \
SVE_VECTOR_LEN \
)))
ifeq (${SANITIZE_UB},trap)