diff options
author | Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> | 2020-09-22 13:28:29 +0100 |
---|---|---|
committer | Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> | 2020-10-15 13:04:22 +0100 |
commit | 1e51c2f51b9d9b35d493b2a8c7621d822b9acc33 (patch) | |
tree | 141c0c1f00b1a50eb562cbb95382b78436efc559 /Makefile | |
parent | a5b1776689b53421b859697149874323ad353769 (diff) |
plat: tc0: Add cactus support
This patch adds tc0 platform support for cactus to execute at S-EL1
Change-Id: Iabac58de7c39e51968f0c5b578292e5a6111609a
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -127,10 +127,18 @@ include tftf/framework/framework.mk include tftf/tests/tests.mk include fwu/ns_bl1u/ns_bl1u.mk include fwu/ns_bl2u/ns_bl2u.mk + +# Only platform fvp supports cactus_mm, ivy, quark +ifeq (${ARCH}-${PLAT},aarch64-fvp) include spm/cactus_mm/cactus_mm.mk -include spm/cactus/cactus.mk include spm/ivy/ivy.mk include spm/quark/quark.mk +endif + +# cactus is supported on platforms: fvp, tc0 +ifeq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc0)) +include spm/cactus/cactus.mk +endif ################################################################################ # Include libc @@ -359,11 +367,6 @@ cactus_mm: @echo "ERROR: $@ is supported only on AArch64 FVP." @exit 1 -.PHONY: cactus -cactus: - @echo "ERROR: $@ is supported only on AArch64 FVP." - @exit 1 - .PHONY: ivy ivy: @echo "ERROR: $@ is supported only on AArch64 FVP." @@ -375,6 +378,13 @@ quark: @exit 1 endif +ifneq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc0)) +.PHONY: cactus +cactus: + @echo "ERROR: $@ is supported only on AArch64 FVP or TC0." + @exit 1 +endif + MAKE_DEP = -Wp,-MD,$(DEP) -MT $$@ define MAKE_C @@ -504,6 +514,10 @@ ifeq (${ARCH}-${PLAT},aarch64-fvp) $(eval $(call MAKE_IMG,quark)) endif +ifeq (${ARCH}-${PLAT},aarch64-tc0) + $(eval $(call MAKE_IMG,cactus)) +endif + # The EL3 test payload is only supported in AArch64. It has an independent build # system. .PHONY: el3_payload |