]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
plat: marvell: armada: a3k: Simplify check if WTP variable is defined
authorPali Rohár <pali@kernel.org>
Thu, 3 Dec 2020 11:00:47 +0000 (12:00 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 7 Dec 2020 11:06:36 +0000 (11:06 +0000)
Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: Ieb352f0765882efdcb64ef54e6b2a39768590a06

plat/marvell/armada/a3k/common/a3700_common.mk

index 7eddff9a986fe8f85be052fb8bf05b82951a35d6..e2022fac7fea0615b2f509dc9257061c0b1ea06c 100644 (file)
@@ -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:;