diff options
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 |