summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7d06ab..4a3ce5f 100644
--- a/Makefile
+++ b/Makefile
@@ -164,6 +164,7 @@ INCLUDES := -Iinclude \
-Iinclude/lib/utils \
-Iinclude/plat/common \
-Iinclude/runtime_services \
+ -Iinclude/runtime_services/secure_el0_payloads \
-Iinclude/runtime_services/secure_el1_payloads \
-Iinclude/stdlib \
-Iinclude/stdlib/sys \
@@ -223,6 +224,10 @@ ifeq (${FIRMWARE_UPDATE},1)
NS_BL2U_SOURCES += ${PLAT_SOURCES}
endif
+ifneq (${ARCH},aarch32)
+ include cactus/cactus.mk
+endif
+
# Check that the file pointed by $TESTS_FILE exists
ifeq (,$(wildcard ${TESTS_FILE}))
$(error "The file TESTS_FILE points to cannot be found")
@@ -316,6 +321,13 @@ ns_bl1u ns_bl2u:
on this platform."
@exit 1
endif
+ifneq (${ARCH},aarch32)
+ BUILD_TARGETS += cactus
+else
+cactus:
+ @echo "ERROR: Can't build $@ for AArch32."
+ @exit 1
+endif
# Does the list of goals specified on the command line include a build target?
ifneq ($(call match_goals,${BUILD_TARGETS}),)
@@ -466,13 +478,17 @@ ifeq ($(FIRMWARE_UPDATE), 1)
$(eval $(call MAKE_IMG,ns_bl2u))
endif
+ifneq (${ARCH},aarch32)
+ $(eval $(call MAKE_IMG,cactus))
+endif
+
cscope:
@echo " CSCOPE"
${Q}find ${CURDIR} -name "*.[chsS]" > cscope.files
${Q}cscope -b -q -k
help:
- @echo "usage: ${MAKE} PLAT=<${PLATFORMS}> <all|tftf|ns_bl1u|ns_bl2u|distclean|clean|checkcodebase|checkpatch>"
+ @echo "usage: ${MAKE} PLAT=<${PLATFORMS}> <all|tftf|ns_bl1u|ns_bl2u|cactus|distclean|clean|checkcodebase|checkpatch>"
@echo ""
@echo "PLAT is used to specify which platform you wish to build."
@echo "If no platform is specified, PLAT defaults to: ${DEFAULT_PLAT}"
@@ -483,6 +499,7 @@ help:
@echo " tftf Build the TFTF image"
@echo " ns_bl1u Build the NS_BL1U image"
@echo " ns_bl2u Build the NS_BL2U image"
+ @echo " cactus Build the Cactus image (Test S-EL0 payload)."
@echo " checkcodebase Check the coding style of the entire source tree"
@echo " checkpatch Check the coding style on changes in the current"
@echo " branch against BASE_COMMIT (default origin/master)"