mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00
Merge "refactor(build): allow mandatory feats disabling" into integration
This commit is contained in:
commit
48c37bee12
1 changed files with 13 additions and 13 deletions
|
@ -20,48 +20,48 @@
|
|||
|
||||
# Enable the features which are mandatory from ARCH version 8.1 and upwards.
|
||||
ifeq "8.1" "$(word 1, $(sort 8.1 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_PAN := 1
|
||||
ENABLE_FEAT_VHE := 1
|
||||
ENABLE_FEAT_PAN ?= 1
|
||||
ENABLE_FEAT_VHE ?= 1
|
||||
endif
|
||||
|
||||
# Enable the features which are mandatory from ARCH version 8.2 and upwards.
|
||||
ifeq "8.2" "$(word 1, $(sort 8.2 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_RAS := 1
|
||||
ENABLE_FEAT_RAS ?= 1
|
||||
endif
|
||||
|
||||
# Enable the features which are mandatory from ARCH version 8.4 and upwards.
|
||||
ifeq "8.4" "$(word 1, $(sort 8.4 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_SEL2 := 1
|
||||
ENABLE_TRF_FOR_NS := 1
|
||||
ENABLE_FEAT_DIT := 1
|
||||
ENABLE_FEAT_SEL2 ?= 1
|
||||
ENABLE_TRF_FOR_NS ?= 1
|
||||
ENABLE_FEAT_DIT ?= 1
|
||||
endif
|
||||
|
||||
# Enable the features which are mandatory from ARCH version 8.5 and upwards.
|
||||
ifeq "8.5" "$(word 1, $(sort 8.5 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_RNG := 1
|
||||
ENABLE_FEAT_SB := 1
|
||||
ENABLE_FEAT_RNG ?= 1
|
||||
ENABLE_FEAT_SB ?= 1
|
||||
|
||||
# Enable Memory tagging, Branch Target Identification for aarch64 only.
|
||||
ifeq ($(ARCH), aarch64)
|
||||
mem_tag_arch_support := yes
|
||||
mem_tag_arch_support ?= yes
|
||||
endif #(ARCH=aarch64)
|
||||
|
||||
endif
|
||||
|
||||
# Enable the features which are mandatory from ARCH version 8.6 and upwards.
|
||||
ifeq "8.6" "$(word 1, $(sort 8.6 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_ECV := 1
|
||||
ENABLE_FEAT_FGT := 1
|
||||
ENABLE_FEAT_ECV ?= 1
|
||||
ENABLE_FEAT_FGT ?= 1
|
||||
endif
|
||||
|
||||
# Enable the features which are mandatory from ARCH version 8.7 and upwards.
|
||||
ifeq "8.7" "$(word 1, $(sort 8.7 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_HCX := 1
|
||||
ENABLE_FEAT_HCX ?= 1
|
||||
endif
|
||||
|
||||
# Enable the features which are mandatory from ARCH version 8.9 and upwards.
|
||||
ifeq "8.9" "$(word 1, $(sort 8.9 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
|
||||
ENABLE_FEAT_TCR2 := 1
|
||||
ENABLE_FEAT_TCR2 ?= 1
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue