summaryrefslogtreecommitdiff
path: root/src/drivers/tpm/Makefile.inc
blob: 3ed5173db74dc61783dc653ad1f505e574c29e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## SPDX-License-Identifier: GPL-2.0-only

ifeq ($(CONFIG_TPM),y)

ramstage-$(CONFIG_TPM_INIT_RAMSTAGE) += tpm.c

ifeq ($(CONFIG_TPM_PPI),y)
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += ppi.c
else
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += ppi_stub.c
endif

all-$(CONFIG_TPM_GOOGLE) += cr50.c

endif