summaryrefslogtreecommitdiff
path: root/make_helpers
diff options
context:
space:
mode:
authorManish V Badarkhe <manish.badarkhe@arm.com>2026-07-08 19:13:22 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2026-07-08 19:13:22 +0000
commitb5eaba47efc5e4e3029086d5c25eee0e8dbb0129 (patch)
treef83adf54bf08650f89e2faecb3cf5ae7eeca6046 /make_helpers
parentb4751218bc5a77fd7b9747ecf3286f30c4e31f30 (diff)
parentba86a1e844732a7faa877e3221249e98fbbede58 (diff)
downloadarm-trusted-firmware-master.tar.gz
arm-trusted-firmware-master.zip
Merge "fix(cpufeat): correct comments to reflect forced override behavior" into integrationHEADmaster
Diffstat (limited to 'make_helpers')
-rw-r--r--make_helpers/arch_features.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/make_helpers/arch_features.mk b/make_helpers/arch_features.mk
index e74d7c8e6..2e079cfe4 100644
--- a/make_helpers/arch_features.mk
+++ b/make_helpers/arch_features.mk
@@ -8,13 +8,16 @@
# and enables them based on the configured architecture version.
# This file follows the following format:
-# - Enable mandatory feature if not updated, as applicable to an Arch Version.
-# - By default disable any mandatory features if they have not been defined yet.
-# - Disable or enable any optional feature this would be enabled/disabled if needed by platform.
+# - Force all mandatory features to FEAT_STATE_ALWAYS (1) based on the configured
+# architecture version, overriding any platform settings. This ensures
+# architecturally mandatory features are always enabled when
+# ARM_ARCH_{MAJOR,MINOR} is set.
+# - By default, leave any optional features disabled if they have not been
+# defined yet, and let them be enabled/disabled as needed by platform.
#
################################################################################
-# Enable Mandatory features if not updated yet, based on Arch versions.
+# Force mandatory features based on configured architecture version.
################################################################################
#
@@ -144,6 +147,6 @@ armv9-6-a-feats += ${armv9-5-a-feats}
FEAT_LIST := ${armv9-6-a-feats}
endif
-# Set all FEAT_* in FEAT_LIST to '1' if they are not yet defined or set
-# from build commandline options or platform makefile.
+# Force all FEAT_* in FEAT_LIST to FEAT_STATE_ALWAYS (1), overriding any
+# previous settings from platform makefiles.
$(eval $(call set_ones, ${sort ${FEAT_LIST}}))