fix(build): convert tabs to spaces

Convert any used tabs in arch_features.mk to spaces to avoid makefile
build issues. Only recipes should be indented with tabs.

ENABLE_TRBE_FOR_NS should be enabled only for aarch64 but accidentally
its enabled for aarch32 as well in FVP makefile.

Change-Id: Iee913a04d6b60a4738183a17421754c2638e8e6d
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
This commit is contained in:
Govindraj Raja 2023-09-20 15:31:45 -05:00
parent d1a974a3b7
commit 1ca73b4f4a
2 changed files with 19 additions and 19 deletions

View file

@ -182,25 +182,25 @@ ENABLE_SYS_REG_TRACE_FOR_NS ?= 0
# Build option to enable/disable the Statistical Profiling Extension, # Build option to enable/disable the Statistical Profiling Extension,
# keep it enabled by default for AArch64. # keep it enabled by default for AArch64.
ifeq (${ARCH},aarch64) ifeq (${ARCH},aarch64)
ENABLE_SPE_FOR_NS ?= 2 ENABLE_SPE_FOR_NS ?= 2
else ifeq (${ARCH},aarch32) else ifeq (${ARCH},aarch32)
ifdef ENABLE_SPE_FOR_NS ifdef ENABLE_SPE_FOR_NS
$(error ENABLE_SPE_FOR_NS is not supported for AArch32) $(error ENABLE_SPE_FOR_NS is not supported for AArch32)
else else
ENABLE_SPE_FOR_NS := 0 ENABLE_SPE_FOR_NS := 0
endif endif
endif endif
# Enable SVE for non-secure world by default. # Enable SVE for non-secure world by default.
ifeq (${ARCH},aarch64) ifeq (${ARCH},aarch64)
ENABLE_SVE_FOR_NS ?= 2 ENABLE_SVE_FOR_NS ?= 2
# SVE is only supported on AArch64 so disable it on AArch32. # SVE is only supported on AArch64 so disable it on AArch32.
else ifeq (${ARCH},aarch32) else ifeq (${ARCH},aarch32)
ifdef ENABLE_SVE_FOR_NS ifdef ENABLE_SVE_FOR_NS
$(error ENABLE_SVE_FOR_NS is not supported for AArch32) $(error ENABLE_SVE_FOR_NS is not supported for AArch32)
else else
ENABLE_SVE_FOR_NS := 0 ENABLE_SVE_FOR_NS := 0
endif endif
endif endif
#---- #----
@ -291,13 +291,13 @@ ENABLE_SVE_FOR_SWD ?= 0
# Note FEAT_TRBE is only supported on AArch64 - therefore do not enable in # Note FEAT_TRBE is only supported on AArch64 - therefore do not enable in
# AArch32. # AArch32.
ifeq (${ARCH},aarch64) ifeq (${ARCH},aarch64)
ENABLE_TRBE_FOR_NS ?= 0 ENABLE_TRBE_FOR_NS ?= 0
else ifeq (${ARCH},aarch32) else ifeq (${ARCH},aarch32)
ifdef ENABLE_TRBE_FOR_NS ifdef ENABLE_TRBE_FOR_NS
$(error ENABLE_TRBE_FOR_NS is not supported for AArch32) $(error ENABLE_TRBE_FOR_NS is not supported for AArch32)
else else
ENABLE_TRBE_FOR_NS := 0 ENABLE_TRBE_FOR_NS := 0
endif endif
endif endif
#---- #----

View file

@ -75,8 +75,8 @@ ifeq (${ARCH}, aarch64)
ifeq (${ENABLE_RME},0) ifeq (${ENABLE_RME},0)
ENABLE_BRBE_FOR_NS := 2 ENABLE_BRBE_FOR_NS := 2
endif endif
ENABLE_TRBE_FOR_NS := 2
endif endif
ENABLE_TRBE_FOR_NS := 2
ENABLE_SYS_REG_TRACE_FOR_NS := 2 ENABLE_SYS_REG_TRACE_FOR_NS := 2
ENABLE_FEAT_CSV2_2 := 2 ENABLE_FEAT_CSV2_2 := 2
ENABLE_FEAT_DIT := 2 ENABLE_FEAT_DIT := 2