aboutsummaryrefslogtreecommitdiff
path: root/make_helpers/build_macros.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-26 11:42:01 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-02-01 20:20:03 +0900
commit91704d9d482da12ffd7ac80688414661a246f45a (patch)
tree57939d408e28d892aa2ee8a9eb2f32fd97c4d8d1 /make_helpers/build_macros.mk
parentc939d13a8c0ad49a41d3c1e3e308eed8bac383d4 (diff)
downloadtrusted-firmware-a-91704d9d482da12ffd7ac80688414661a246f45a.tar.gz
Build: remove third argument of CERT_ADD_CMD_OPT
The third argument was given "true" by images, but it was moved to TOOL_ADD_PAYLOAD. No more caller of CERT_ADD_CMD_OPT uses this. So, the third argument is always empty. Remove it. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'make_helpers/build_macros.mk')
-rw-r--r--make_helpers/build_macros.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk
index 35dbb8134f..894b14cb06 100644
--- a/make_helpers/build_macros.mk
+++ b/make_helpers/build_macros.mk
@@ -115,11 +115,9 @@ endef
# CERT_ADD_CMD_OPT adds a new command line option to the cert_create invocation
# $(1) = parameter filename
# $(2) = cert_create command line option for the specified parameter
-# $(3) = input parameter (false if empty)
-# $(4) = FIP prefix (optional) (if FWU_, target is fwu_fip instead of fip)
+# $(3) = FIP prefix (optional) (if FWU_, target is fwu_fip instead of fip)
define CERT_ADD_CMD_OPT
- $(if $(3),$(4)CRT_DEPS += $(1))
- $(4)CRT_ARGS += $(2) $(1)
+ $(3)CRT_ARGS += $(2) $(1)
endef
# TOOL_ADD_IMG allows the platform to specify an external image to be packed