summaryrefslogtreecommitdiff
path: root/src/drivers/tpm/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/tpm/Makefile.inc')
-rw-r--r--src/drivers/tpm/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/tpm/Makefile.inc b/src/drivers/tpm/Makefile.inc
index 5fc4632912..af6e5a21c1 100644
--- a/src/drivers/tpm/Makefile.inc
+++ b/src/drivers/tpm/Makefile.inc
@@ -1,3 +1,7 @@
ramstage-$(CONFIG_TPM_INIT) += tpm.c
+ifeq ($(CONFIG_TPM_PPI),y)
+ramstage-$(CONFIG_HAVE_ACPI_TABLES) += ppi.c
+else
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += ppi_stub.c
+endif