From c939d13a8c0ad49a41d3c1e3e308eed8bac383d4 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 26 Jan 2018 11:42:01 +0900 Subject: Build: rename FIP_ADD_IMG to TOOL_ADD_IMG Now FIP_ADD_IMG takes care of both fiptool and cert_create symmetrically. Rename it so that it matches the behavior. Signed-off-by: Masahiro Yamada --- make_helpers/build_macros.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'make_helpers') diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk index 412f9cdd..35dbb813 100644 --- a/make_helpers/build_macros.mk +++ b/make_helpers/build_macros.mk @@ -122,15 +122,15 @@ define CERT_ADD_CMD_OPT $(4)CRT_ARGS += $(2) $(1) endef -# FIP_ADD_IMG allows the platform to specify an image to be packed in the FIP -# using a build option. It also adds a dependency on the image file, aborting -# the build if the file does not exist. +# TOOL_ADD_IMG allows the platform to specify an external image to be packed +# in the FIP and/or for which certificate is generated. It also adds a +# dependency on the image file, aborting the build if the file does not exist. # $(1) = build option to specify the image filename (SCP_BL2, BL33, etc) # $(2) = command line option for fiptool (--scp-fw, --nt-fw, etc) # $(3) = FIP prefix (optional) (if FWU_, target is fwu_fip instead of fip) # Example: -# $(eval $(call FIP_ADD_IMG,BL33,--nt-fw)) -define FIP_ADD_IMG +# $(eval $(call TOOL_ADD_IMG,BL33,--nt-fw)) +define TOOL_ADD_IMG $(3)CRT_DEPS += check_$(1) $(3)FIP_DEPS += check_$(1) $(call TOOL_ADD_PAYLOAD,$(value $(1)),$(2),,$(3)) -- cgit v1.2.3