mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-22 12:34:19 +00:00
build(bl2): only set BL2_CPPFLAGS for armv8
If ARM_ARCH_MAJOR is 9 and ARM_ARCH_MINOR is 0 we don't want need to have "-march=armv8-a+crc" in BL2_CPPFLAGS. Change-Id: I9ac11522fde00953da40b95eebf82ff8ab2559ba Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
This commit is contained in:
parent
54b3fc63e4
commit
4202cd51be
1 changed files with 4 additions and 2 deletions
|
@ -195,8 +195,10 @@ endif
|
||||||
# Enable CRC instructions via extension for ARMv8-A CPUs.
|
# Enable CRC instructions via extension for ARMv8-A CPUs.
|
||||||
# For ARMv8.1-A, and onwards CRC instructions are default enabled.
|
# For ARMv8.1-A, and onwards CRC instructions are default enabled.
|
||||||
# Enable HW computed CRC support unconditionally in BL2 component.
|
# Enable HW computed CRC support unconditionally in BL2 component.
|
||||||
ifeq (${ARM_ARCH_MINOR},0)
|
ifeq (${ARM_ARCH_MAJOR},8)
|
||||||
BL2_CPPFLAGS += -march=armv8-a+crc
|
ifeq (${ARM_ARCH_MINOR},0)
|
||||||
|
BL2_CPPFLAGS += -march=armv8-a+crc
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PSA_FWU_SUPPORT),1)
|
ifeq ($(PSA_FWU_SUPPORT),1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue