drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / security / tpm / Makefile.mk
blobfe16192ff675db718b3180876beda9c42ab5cb48
1 ## SPDX-License-Identifier: GPL-2.0-only
3 subdirs-$(CONFIG_TPM_GOOGLE) += tss/vendor/cr50
5 ## TSS
7 ifeq ($(CONFIG_TPM1),y)
9 ramstage-y += tss/tcg-1.2/tss.c
10 romstage-y += tss/tcg-1.2/tss.c
11 bootblock-y += tss/tcg-1.2/tss.c
12 verstage-y += tss/tcg-1.2/tss.c
13 postcar-y += tss/tcg-1.2/tss.c
15 all-y += tss/tss.c
17 ## TSPI
19 ramstage-y += tspi/tspi.c
20 romstage-y += tspi/tspi.c
21 bootblock-y += tspi/tspi.c
22 verstage-y += tspi/tspi.c
23 postcar-y += tspi/tspi.c
25 endif # CONFIG_TPM1
27 ifeq ($(CONFIG_TPM2),y)
29 ramstage-y += tss/tcg-2.0/tss_marshaling.c
30 ramstage-y += tss/tcg-2.0/tss.c
31 ramstage-y += tss/tss.c
33 romstage-y += tss/tcg-2.0/tss_marshaling.c
34 romstage-y += tss/tcg-2.0/tss.c
35 romstage-y += tss/tss.c
37 verstage-$(CONFIG_VBOOT) += tss/tcg-2.0/tss_marshaling.c
38 verstage-$(CONFIG_VBOOT) += tss/tcg-2.0/tss.c
39 verstage-$(CONFIG_VBOOT) += tss/tss.c
41 postcar-y += tss/tcg-2.0/tss_marshaling.c
42 postcar-y += tss/tcg-2.0/tss.c
43 postcar-y += tss/tss.c
45 bootblock-y += tss/tcg-2.0/tss_marshaling.c
46 bootblock-y += tss/tcg-2.0/tss.c
47 bootblock-y += tss/tss.c
49 ## TSPI
51 ramstage-y += tspi/tspi.c
52 romstage-y += tspi/tspi.c
53 bootblock-y += tspi/tspi.c
54 verstage-$(CONFIG_VBOOT) += tspi/tspi.c
55 postcar-y += tspi/tspi.c
57 endif # CONFIG_TPM2
59 ifeq ($(CONFIG_TPM_MEASURED_BOOT),y)
61 bootblock-y += tspi/crtm.c
62 verstage-y += tspi/crtm.c
63 romstage-y += tspi/crtm.c
64 ramstage-y += tspi/crtm.c
65 postcar-y += tspi/crtm.c
67 ramstage-$(CONFIG_TPM_LOG_CB) += tspi/log.c
68 romstage-$(CONFIG_TPM_LOG_CB) += tspi/log.c
69 verstage-$(CONFIG_TPM_LOG_CB) += tspi/log.c
70 postcar-$(CONFIG_TPM_LOG_CB) += tspi/log.c
71 bootblock-$(CONFIG_TPM_LOG_CB) += tspi/log.c
73 ramstage-$(CONFIG_TPM_LOG_TPM1) += tspi/log-tpm1.c
74 romstage-$(CONFIG_TPM_LOG_TPM1) += tspi/log-tpm1.c
75 verstage-$(CONFIG_TPM_LOG_TPM1) += tspi/log-tpm1.c
76 postcar-$(CONFIG_TPM_LOG_TPM1) += tspi/log-tpm1.c
77 bootblock-$(CONFIG_TPM_LOG_TPM1) += tspi/log-tpm1.c
79 ramstage-$(CONFIG_TPM_LOG_TPM2) += tspi/log-tpm2.c
80 romstage-$(CONFIG_TPM_LOG_TPM2) += tspi/log-tpm2.c
81 verstage-$(CONFIG_TPM_LOG_TPM2) += tspi/log-tpm2.c
82 postcar-$(CONFIG_TPM_LOG_TPM2) += tspi/log-tpm2.c
83 bootblock-$(CONFIG_TPM_LOG_TPM2) += tspi/log-tpm2.c
85 endif # CONFIG_TPM_MEASURED_BOOT