mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 05:43:53 +00:00
build(bl2): deduplicate sources
Deduplicating sources prevents the build system from complaining about multiply-compiled files, which can happen if multiple makefiles depend on a component. This already occurs for BL31. Signed-off-by: Chris Kay <chris.kay@arm.com> Change-Id: Ic9e67932550f07cb9e4d199f68bc46c33a611748
This commit is contained in:
parent
b34635a02f
commit
eb1acfb60c
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -1195,6 +1195,8 @@ ifeq (${BL2_AT_EL3}, 0)
|
|||
FIP_BL2_ARGS := tb-fw
|
||||
endif
|
||||
|
||||
BL2_SOURCES := $(sort ${BL2_SOURCES})
|
||||
|
||||
$(if ${BL2}, $(eval $(call TOOL_ADD_IMG,bl2,--${FIP_BL2_ARGS})),\
|
||||
$(eval $(call MAKE_BL,bl2,${FIP_BL2_ARGS})))
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue