mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 06:19:56 +00:00
build(bl1): 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: I9b40402f6f04600061fba7d6ad5d222a71e7d4a7
This commit is contained in:
parent
387ff949e6
commit
b34635a02f
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -1185,6 +1185,8 @@ $(eval $(call MAKE_LIB,c))
|
|||
|
||||
# Expand build macros for the different images
|
||||
ifeq (${NEED_BL1},yes)
|
||||
BL1_SOURCES := $(sort ${BL1_SOURCES})
|
||||
|
||||
$(eval $(call MAKE_BL,bl1))
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue