diff options
author | Govindraj Raja <govindraj.raja@arm.com> | 2023-09-20 15:31:45 -0500 |
---|---|---|
committer | Govindraj Raja <govindraj.raja@arm.com> | 2023-10-23 08:12:30 -0500 |
commit | 1ca73b4f4a0f6929a6649b4eb12e4ce45644a892 (patch) | |
tree | eb283a3d85e5e29bf00e932e7c2b8db12df50369 | |
parent | d1a974a3b7059bd87d28bca3dc66519ba8d0eafc (diff) |
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>
-rw-r--r-- | make_helpers/arch_features.mk | 36 | ||||
-rw-r--r-- | plat/arm/board/fvp/platform.mk | 2 |
2 files changed, 19 insertions, 19 deletions
diff --git a/make_helpers/arch_features.mk b/make_helpers/arch_features.mk index f90136b78..28a64c806 100644 --- a/make_helpers/arch_features.mk +++ b/make_helpers/arch_features.mk @@ -182,25 +182,25 @@ ENABLE_SYS_REG_TRACE_FOR_NS ?= 0 # Build option to enable/disable the Statistical Profiling Extension, # keep it enabled by default for AArch64. ifeq (${ARCH},aarch64) - ENABLE_SPE_FOR_NS ?= 2 + ENABLE_SPE_FOR_NS ?= 2 else ifeq (${ARCH},aarch32) - ifdef ENABLE_SPE_FOR_NS - $(error ENABLE_SPE_FOR_NS is not supported for AArch32) - else - ENABLE_SPE_FOR_NS := 0 - endif + ifdef ENABLE_SPE_FOR_NS + $(error ENABLE_SPE_FOR_NS is not supported for AArch32) + else + ENABLE_SPE_FOR_NS := 0 + endif endif # Enable SVE for non-secure world by default. ifeq (${ARCH},aarch64) - ENABLE_SVE_FOR_NS ?= 2 + ENABLE_SVE_FOR_NS ?= 2 # SVE is only supported on AArch64 so disable it on AArch32. else ifeq (${ARCH},aarch32) - ifdef ENABLE_SVE_FOR_NS - $(error ENABLE_SVE_FOR_NS is not supported for AArch32) - else - ENABLE_SVE_FOR_NS := 0 - endif + ifdef ENABLE_SVE_FOR_NS + $(error ENABLE_SVE_FOR_NS is not supported for AArch32) + else + ENABLE_SVE_FOR_NS := 0 + endif endif #---- @@ -291,13 +291,13 @@ ENABLE_SVE_FOR_SWD ?= 0 # Note FEAT_TRBE is only supported on AArch64 - therefore do not enable in # AArch32. ifeq (${ARCH},aarch64) - ENABLE_TRBE_FOR_NS ?= 0 + ENABLE_TRBE_FOR_NS ?= 0 else ifeq (${ARCH},aarch32) - ifdef ENABLE_TRBE_FOR_NS - $(error ENABLE_TRBE_FOR_NS is not supported for AArch32) - else - ENABLE_TRBE_FOR_NS := 0 - endif + ifdef ENABLE_TRBE_FOR_NS + $(error ENABLE_TRBE_FOR_NS is not supported for AArch32) + else + ENABLE_TRBE_FOR_NS := 0 + endif endif #---- diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk index 72f94b0a1..8296c384d 100644 --- a/plat/arm/board/fvp/platform.mk +++ b/plat/arm/board/fvp/platform.mk @@ -75,8 +75,8 @@ ifeq (${ARCH}, aarch64) ifeq (${ENABLE_RME},0) ENABLE_BRBE_FOR_NS := 2 endif + ENABLE_TRBE_FOR_NS := 2 endif -ENABLE_TRBE_FOR_NS := 2 ENABLE_SYS_REG_TRACE_FOR_NS := 2 ENABLE_FEAT_CSV2_2 := 2 ENABLE_FEAT_DIT := 2 |