summaryrefslogtreecommitdiff
path: root/src/security/vboot/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/vboot/Makefile.mk')
-rw-r--r--src/security/vboot/Makefile.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/security/vboot/Makefile.mk b/src/security/vboot/Makefile.mk
index 23271ea000..48a6c9de91 100644
--- a/src/security/vboot/Makefile.mk
+++ b/src/security/vboot/Makefile.mk
@@ -118,6 +118,14 @@ else
verstage-y += secdata_tpm.c
romstage-y += secdata_tpm.c
ramstage-y += secdata_tpm.c
+
+verstage-$(CONFIG_TPM1) += secdata_tpm1.c
+romstage-$(CONFIG_TPM1) += secdata_tpm1.c
+ramstage-$(CONFIG_TPM1) += secdata_tpm1.c
+
+verstage-$(CONFIG_TPM2) += secdata_tpm2.c
+romstage-$(CONFIG_TPM2) += secdata_tpm2.c
+ramstage-$(CONFIG_TPM2) += secdata_tpm2.c
endif
verstage-$(CONFIG_TPM) += tpm_common.c