mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
build: sort bootloader image sources
To avoid duplicate symbol errors when compiling bootloader images which pull in the same source file multiple times, sort source files before generating bootloader image build rules in order to remove duplicates. Change-Id: I03a60d9f752f8fe85f17ec14e265fd4a6223de32 Signed-off-by: Chris Kay <chris.kay@arm.com>
This commit is contained in:
parent
1ab8c10909
commit
bb22fb8402
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ endef
|
|||
define MAKE_BL
|
||||
$(eval BUILD_DIR := ${BUILD_PLAT}/$(1))
|
||||
$(eval BL_SOURCES := $($(call uppercase,$(1))_SOURCES))
|
||||
$(eval SOURCES := $(BL_SOURCES) $(BL_COMMON_SOURCES) $(PLAT_BL_COMMON_SOURCES))
|
||||
$(eval SOURCES := $(sort $(BL_SOURCES) $(BL_COMMON_SOURCES) $(PLAT_BL_COMMON_SOURCES)))
|
||||
$(eval OBJS := $(addprefix $(BUILD_DIR)/,$(call SOURCES_TO_OBJS,$(SOURCES))))
|
||||
$(eval MAPFILE := $(call IMG_MAPFILE,$(1)))
|
||||
$(eval ELF := $(call IMG_ELF,$(1)))
|
||||
|
|
Loading…
Add table
Reference in a new issue