summaryrefslogtreecommitdiff
path: root/drivers/tpm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tpm/Makefile')
-rw-r--r--drivers/tpm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tpm/Makefile b/drivers/tpm/Makefile
index be11c8b..e8c159c 100644
--- a/drivers/tpm/Makefile
+++ b/drivers/tpm/Makefile
@@ -23,7 +23,11 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libtpm.o
+$(shell mkdir -p $(obj)slb9635_i2c)
+
COBJS-$(CONFIG_GENERIC_LPC_TPM) = generic_lpc_tpm.o
+COBJS-$(CONFIG_INFINEON_TPM_I2C) += tis_i2c.o slb9635_i2c/tpm.o
+COBJS-$(CONFIG_INFINEON_TPM_I2C) += slb9635_i2c/tpm_tis_i2c.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)