plat: marvell: armada: a3k: Simplify check if WTP variable is defined
Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: Ieb352f0765882efdcb64ef54e6b2a39768590a06
This commit is contained in:
parent
bc1f368743
commit
e33370828d
|
@ -64,7 +64,7 @@ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
|
||||||
$(PLAT_COMMON_BASE)/a3700_sip_svc.c \
|
$(PLAT_COMMON_BASE)/a3700_sip_svc.c \
|
||||||
$(MARVELL_DRV)
|
$(MARVELL_DRV)
|
||||||
|
|
||||||
ifneq (${WTP},)
|
ifdef WTP
|
||||||
|
|
||||||
DOIMAGEPATH := $(WTP)
|
DOIMAGEPATH := $(WTP)
|
||||||
DOIMAGETOOL := $(DOIMAGEPATH)/wtptp/src/TBB_Linux/release/TBB_linux
|
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
|
-$(Q)$(MAKE) --no-print-directory -C $(CRYPTOPP_PATH) -f GNUmakefile clean
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else # ${WTP}
|
else # WTP
|
||||||
|
|
||||||
.PHONY: mrvl_flash
|
.PHONY: mrvl_flash
|
||||||
mrvl_flash:
|
mrvl_flash:
|
||||||
$(error "Platform '${PLAT}' for target '$@' requires WTP. Please set WTP to point to the right directory")
|
$(error "Platform '${PLAT}' for target '$@' requires WTP. Please set WTP to point to the right directory")
|
||||||
|
|
||||||
endif # ${WTP}
|
endif # WTP
|
||||||
|
|
||||||
.PHONY: FORCE
|
.PHONY: FORCE
|
||||||
FORCE:;
|
FORCE:;
|
||||||
|
|
Loading…
Reference in New Issue