diff --git a/Makefile b/Makefile index a1109643a..814f98b5a 100644 --- a/Makefile +++ b/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