aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-12-03 12:00:47 +0100
committerManish Pandey <manish.pandey2@arm.com>2020-12-07 11:06:36 +0000
commite33370828db397a9bdd5a52315cf4772bdbca1a3 (patch)
tree44b00711e01f1514530c703d193438b5f28c1c98 /plat
parentbc1f368743009bf405c23fc907b82e07965233bb (diff)
downloadplatform_external_arm-trusted-firmware-e33370828db397a9bdd5a52315cf4772bdbca1a3.tar.gz
platform_external_arm-trusted-firmware-e33370828db397a9bdd5a52315cf4772bdbca1a3.tar.bz2
platform_external_arm-trusted-firmware-e33370828db397a9bdd5a52315cf4772bdbca1a3.zip
plat: marvell: armada: a3k: Simplify check if WTP variable is defined
Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: Ieb352f0765882efdcb64ef54e6b2a39768590a06
Diffstat (limited to 'plat')
-rw-r--r--plat/marvell/armada/a3k/common/a3700_common.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/marvell/armada/a3k/common/a3700_common.mk b/plat/marvell/armada/a3k/common/a3700_common.mk
index 7eddff9a9..e2022fac7 100644
--- a/plat/marvell/armada/a3k/common/a3700_common.mk
+++ b/plat/marvell/armada/a3k/common/a3700_common.mk
@@ -64,7 +64,7 @@ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
$(PLAT_COMMON_BASE)/a3700_sip_svc.c \
$(MARVELL_DRV)
-ifneq (${WTP},)
+ifdef WTP
DOIMAGEPATH := $(WTP)
DOIMAGETOOL := $(DOIMAGEPATH)/wtptp/src/TBB_Linux/release/TBB_linux
@@ -200,13 +200,13 @@ ifdef CRYPTOPP_PATH
-$(Q)$(MAKE) --no-print-directory -C $(CRYPTOPP_PATH) -f GNUmakefile clean
endif
-else # ${WTP}
+else # WTP
.PHONY: mrvl_flash
mrvl_flash:
$(error "Platform '${PLAT}' for target '$@' requires WTP. Please set WTP to point to the right directory")
-endif # ${WTP}
+endif # WTP
.PHONY: FORCE
FORCE:;