]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(el3-spmc): make platform logical partition optional
authorJens Wiklander <jens.wiklander@linaro.org>
Thu, 19 May 2022 13:17:43 +0000 (15:17 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 8 Dec 2022 14:40:25 +0000 (15:40 +0100)
Prior to this commit a logical platform specific partition is added when
compiling with SPMC at EL3. Not all platform need to add a logical
platform so make this optional.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Change-Id: I3bdd2a91350330c1637e8d84765974bfb6b225d7

services/std_svc/spm/el3_spmc/spmc.mk

index c674e7161443bab720d99d7cbd641d387fdace1e..6442af0496825c024a9367688415b2257b43c849 100644 (file)
@@ -20,7 +20,9 @@ SPMC_LP_SOURCES  := $(addprefix ${PLAT_DIR}/, \
                     ${PLAT}_el3_spmc_logical_sp.c)
 
 
+ifneq ($(wildcard $(SPMC_LP_SOURCES)),)
 SPMC_SOURCES += $(SPMC_LP_SOURCES)
+endif
 
 # Let the top-level Makefile know that we intend to include a BL32 image
 NEED_BL32              :=      yes