aboutsummaryrefslogtreecommitdiff
path: root/make_helpers/tbbr/tbbr_tools.mk
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 00:58:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 00:58:08 +0000
commit9bca8bfd14182581a0b456b484215648108fe01e (patch)
tree2ce8a4e341ac9f98fb265347777487eda74eba48 /make_helpers/tbbr/tbbr_tools.mk
parent49d9c1db254b1b50d70d4f6c16dd63e5f05ffca5 (diff)
parent138668cae2394deb5d695c70fe4aa9760c4458ee (diff)
downloadarm-trusted-firmware-7c6429d9f208cdc52460dcf7a38caa1837658794.tar.gz
Change-Id: I18a236d9ccbe8b3795fc79694f38ab3916afccaf
Diffstat (limited to 'make_helpers/tbbr/tbbr_tools.mk')
-rw-r--r--make_helpers/tbbr/tbbr_tools.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make_helpers/tbbr/tbbr_tools.mk b/make_helpers/tbbr/tbbr_tools.mk
index f7cced48b..0a280b4ed 100644
--- a/make_helpers/tbbr/tbbr_tools.mk
+++ b/make_helpers/tbbr/tbbr_tools.mk
@@ -11,6 +11,7 @@
# Expected environment:
#
# BUILD_PLAT: output directory
+# NEED_BL2: indicates whether BL2 is needed by the platform
# NEED_BL32: indicates whether BL32 is needed by the platform
# BL2: image filename (optional). Default is IMG_BIN(2) (see macro IMG_BIN)
# SCP_BL2: image filename (optional). Default is IMG_BIN(30)
@@ -67,9 +68,11 @@ $(if ${NON_TRUSTED_WORLD_KEY},$(eval $(call CERT_ADD_CMD_OPT,${NON_TRUSTED_WORLD
# Add the BL2 CoT (image cert)
+ifeq (${NEED_BL2},yes)
ifeq (${BL2_AT_EL3}, 0)
$(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/tb_fw.crt,--tb-fw-cert))
endif
+endif
# Add the SCP_BL2 CoT (key cert + img cert)
ifneq (${SCP_BL2},)