Merge "Fix makefile to build on a Windows host PC" into integration

This commit is contained in:
Manish Pandey 2020-06-29 23:49:20 +00:00 committed by TrustedFirmware Code Review
commit b2b0e28a45
1 changed files with 2 additions and 4 deletions

View File

@ -197,10 +197,8 @@ endif
# Memory tagging is supported in architecture Armv8.5-A AArch64 and onwards
ifeq ($(ARCH), aarch64)
ifeq ($(shell test $(ARM_ARCH_MAJOR) -gt 8; echo $$?),0)
mem_tag_arch_support = yes
else ifeq ($(shell test $(ARM_ARCH_MAJOR) -eq 8 -a $(ARM_ARCH_MINOR) -ge 5; \
echo $$?),0)
# Check if revision is greater than or equal to 8.5
ifeq "8.5" "$(word 1, $(sort 8.5 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
mem_tag_arch_support = yes
endif
endif