From a8cf6faeae17b01906810ffeacfadea04d6cd121 Mon Sep 17 00:00:00 2001 From: Jayanth Dodderi Chidanand Date: Wed, 26 Apr 2023 15:57:30 +0100 Subject: [PATCH] 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 --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2b2f79e3f..03f93201a 100644 --- a/Makefile +++ b/Makefile @@ -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)