summaryrefslogtreecommitdiff
path: root/make_helpers/tbbr
diff options
context:
space:
mode:
authorPankaj Gupta <pankaj.gupta@nxp.com>2021-01-26 21:04:16 +0530
committerPankaj Gupta <pankaj.gupta@nxp.com>2021-03-24 09:49:31 +0530
commit6c74c9977d12f57b524ab1d8cd78ece9933840be (patch)
tree1a80cd99748a3b810f26c2728c3ca09350b053b8 /make_helpers/tbbr
parent4a81a9f1be97b36ef19fedbd74d5a6075b433f73 (diff)
downloadarm-trusted-firmware-6c74c9977d12f57b524ab1d8cd78ece9933840be.tar.gz
tbbr-tools: enable override TRUSTED_KEY_CERT
Platforms, which requires additional images to be verified using TBBR; such that their key certificate is tied to TRUSTED_KEY_CERT. For such platforms, if make commands runs twice: - Once with targets as bl2 & fip.bin, and - Again to build the target as the additional image. then, if path to the TRUSTED_KEY_CERT varies in the makefile with make-target of the additional image, then there would be two location where "trusted_key.crt" will be created. This patch helps overriding the TRUSTED_KEY_CERT from any .mk in the platform's makefile structure. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: I775a2c409035504b21b0bbe5a4f9046898163eed
Diffstat (limited to 'make_helpers/tbbr')
-rw-r--r--make_helpers/tbbr/tbbr_tools.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make_helpers/tbbr/tbbr_tools.mk b/make_helpers/tbbr/tbbr_tools.mk
index 853ad11be..f7cced48b 100644
--- a/make_helpers/tbbr/tbbr_tools.mk
+++ b/make_helpers/tbbr/tbbr_tools.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2015-2021, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -33,7 +33,7 @@
#
# Certificate generation tool default parameters
-TRUSTED_KEY_CERT := ${BUILD_PLAT}/trusted_key.crt
+TRUSTED_KEY_CERT ?= ${BUILD_PLAT}/trusted_key.crt
FWU_CERT := ${BUILD_PLAT}/fwu_cert.crt
# Default non-volatile counter values (overridable by the platform)