diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-01-16 14:38:54 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-01-17 12:24:30 +0000 |
commit | 679865e4d770816d071588a0912a6a687f4b4daf (patch) | |
tree | 9d349c43bb9d9539d168fb41db5f35db923e76fe | |
parent | 393e4a76253e3ef30215c8f3fb35b1fb7a16dd6d (diff) |
Build Cactus for AArch64 FVP only
This patch modifies the build system so that attempting to build
Cactus for any other platform than AArch64 FVP will fail.
Change-Id: I0b5979223def81139afaca3209699085f26f3a3e
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -224,7 +224,7 @@ ifeq (${FIRMWARE_UPDATE},1) NS_BL2U_SOURCES += ${PLAT_SOURCES} endif -ifneq (${ARCH},aarch32) +ifeq (${ARCH}-${PLAT},aarch64-fvp) include cactus/cactus.mk endif @@ -321,11 +321,13 @@ ns_bl1u ns_bl2u: on this platform." @exit 1 endif -ifneq (${ARCH},aarch32) + +ifeq (${ARCH}-${PLAT},aarch64-fvp) BUILD_TARGETS += cactus else +.PHONY: cactus cactus: - @echo "ERROR: Can't build $@ for AArch32." + @echo "ERROR: $@ is supported only on AArch64 FVP." @exit 1 endif @@ -478,7 +480,7 @@ ifeq ($(FIRMWARE_UPDATE), 1) $(eval $(call MAKE_IMG,ns_bl2u)) endif -ifneq (${ARCH},aarch32) +ifeq (${ARCH}-${PLAT},aarch64-fvp) $(eval $(call MAKE_IMG,cactus)) endif |