aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Makefile.inc')
-rw-r--r--src/lib/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index f0fb028741..78b16d91b5 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -35,7 +35,13 @@ verstage-y += cbfs.c
verstage-y += memcmp.c
verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
verstage-$(CONFIG_COMMON_CBFS_SPI_WRAPPER) += cbfs_spi.c
+
+ifeq ($(MOCK_TPM),1)
+verstage-y += mocked_tlcl.c
+else
verstage-y += tlcl.c
+endif
+
verstage-$(CONFIG_GENERIC_UDELAY) += timer.c
verstage-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c