summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/tpm/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/pc80/tpm/Makefile.inc')
-rw-r--r--src/drivers/pc80/tpm/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/pc80/tpm/Makefile.inc b/src/drivers/pc80/tpm/Makefile.inc
index 697842fa03..0068ff19a6 100644
--- a/src/drivers/pc80/tpm/Makefile.inc
+++ b/src/drivers/pc80/tpm/Makefile.inc
@@ -1,4 +1,8 @@
+ifeq ($(CONFIG_ARCH_X86),y)
+
verstage-$(CONFIG_LPC_TPM) += tpm.c
romstage-$(CONFIG_LPC_TPM) += tpm.c
ramstage-$(CONFIG_LPC_TPM) += tpm.c
romstage-$(CONFIG_LPC_TPM) += romstage.c
+
+endif