test(realm): remove pack_realm build target
Remove deprecated pack_realm build target.
To build Realm payload tests use ENABLE_REALM_PAYLOAD_TESTS=1
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: I1529bf6cf601a6ced63fd18da80cd38f86073eed
diff --git a/Makefile b/Makefile
index 90f8037..f88cd3f 100644
--- a/Makefile
+++ b/Makefile
@@ -440,10 +440,6 @@
@echo "ERROR: $@ is supported only on AArch64 FVP."
@exit 1
-.PHONY: pack_realm
-pack_realm:
- @echo "Nothing to be done"
- @exit 1
endif
ifneq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc))
@@ -603,8 +599,6 @@
$(eval $(call MAKE_IMG,tftf))
# Build flag 'ENABLE_REALM_PAYLOAD_TESTS=1' builds and pack Realm Payload Tests
-# (preferred method). The else part contains the deprecated `pack_realm` build
-# target and it will be removed in future commit.
ifeq (${ENABLE_REALM_PAYLOAD_TESTS},1)
$(eval $(call MAKE_IMG,realm))
@@ -616,16 +610,6 @@
@echo " PACK REALM PAYLOAD"
$(shell dd if=$(BUILD_PLAT)/realm.bin of=$(BUILD_PLAT)/tftf.bin obs=1 \
oflag=append conv=notrunc)
-else ifeq (${ARCH}-${PLAT},aarch64-fvp)
-.PHONY : pack_realm
- $(eval $(call MAKE_IMG,realm))
-
-.PHONY : $(BUILD_PLAT)/tftf.bin
-
-pack_realm: realm tftf
- @echo " PACK REALM PAYLOAD (pack_realm method deprecated)"
- $(shell dd if=$(BUILD_PLAT)/realm.bin of=$(BUILD_PLAT)/tftf.bin obs=1 \
- oflag=append conv=notrunc)
endif
ifeq (${ARCH}-${PLAT},aarch64-tc)