summaryrefslogtreecommitdiffstats
path: root/src/security/vboot/Makefile.inc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-05-27 19:33:57 +0300
committerPatrick Georgi <pgeorgi@google.com>2021-05-30 20:14:47 +0000
commitf303b4ffd92caf479153245a720c79eca5edb4ba (patch)
tree8d8fcd4e52e6a04a6445ea77f2175425dec7fac2 /src/security/vboot/Makefile.inc
parentde77449c3946e89140fe53ca636d77a23ccc503c (diff)
downloadcoreboot-f303b4ffd92caf479153245a720c79eca5edb4ba.tar.gz
coreboot-f303b4ffd92caf479153245a720c79eca5edb4ba.tar.bz2
coreboot-f303b4ffd92caf479153245a720c79eca5edb4ba.zip
Apply more uses for Kconfig TPM
Change-Id: I54b296563940cd46fe9da9fe789b746f2fc1987d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55016 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/security/vboot/Makefile.inc')
-rw-r--r--src/security/vboot/Makefile.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index 668d3d9dd50e..47830f3c6212 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -109,9 +109,7 @@ romstage-y += secdata_tpm.c
ramstage-y += secdata_tpm.c
endif
-ifneq ($(CONFIG_TPM1)$(CONFIG_TPM2),)
-verstage-y += tpm_common.c
-endif
+verstage-$(CONFIG_TPM) += tpm_common.c
romstage-y += common.c