From e33370828db397a9bdd5a52315cf4772bdbca1a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Thu, 3 Dec 2020 12:00:47 +0100 Subject: [PATCH] plat: marvell: armada: a3k: Simplify check if WTP variable is defined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pali Rohár Change-Id: Ieb352f0765882efdcb64ef54e6b2a39768590a06 --- plat/marvell/armada/a3k/common/a3700_common.mk | 6 +++--- 1 file 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:;