summaryrefslogtreecommitdiff
path: root/plat/arm
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2018-01-16 10:35:23 +0000
committerRoberto Vargas <roberto.vargas@arm.com>2018-01-18 16:25:18 +0000
commit76d267334626312adf48c8aad52a0f4178e64d61 (patch)
treec64254a3ce1eef59ee1f0387ab6416a1b7fd36c2 /plat/arm
parentc9b31ae85fbcce6dad9596f3390ab443e2779f30 (diff)
bl2-el3: Don't compile BL1 when BL2_AT_EL3 is defined in FVP
This patch modifies the makefiles to avoid the definition of BL1_SOURCES and BL2_SOURCES in the tbbr makefiles, and it lets to the platform makefiles to define them if they actually need these images. In the case of BL2_AT_EL3 BL1 will not be needed usually because the Boot ROM will jump directly to BL2. Change-Id: Ib6845a260633a22a646088629bcd7387fe35dcf9 Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'plat/arm')
-rw-r--r--plat/arm/board/fvp/platform.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk
index 5f5b7432..632eb1f7 100644
--- a/plat/arm/board/fvp/platform.mk
+++ b/plat/arm/board/fvp/platform.mk
@@ -168,5 +168,9 @@ endif
# Add support for platform supplied linker script for BL31 build
$(eval $(call add_define,PLAT_EXTRA_LD_SCRIPT))
+ifneq (${BL2_AT_EL3}, 0)
+ override BL1_SOURCES =
+endif
+
include plat/arm/board/common/board_common.mk
include plat/arm/common/arm_common.mk