diff options
Diffstat (limited to 'drivers/char/tpm/Makefile')
-rw-r--r-- | drivers/char/tpm/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm/Makefile index 83b8a9d7527e..15df2f38ae42 100644 --- a/drivers/char/tpm/Makefile +++ b/drivers/char/tpm/Makefile | |||
@@ -3,14 +3,13 @@ | |||
3 | # | 3 | # |
4 | obj-$(CONFIG_TCG_TPM) += tpm.o | 4 | obj-$(CONFIG_TCG_TPM) += tpm.o |
5 | tpm-y := tpm-interface.o | 5 | tpm-y := tpm-interface.o |
6 | tpm-$(CONFIG_ACPI) += tpm_ppi.o | ||
6 | 7 | ||
7 | ifdef CONFIG_ACPI | 8 | ifdef CONFIG_ACPI |
8 | obj-$(CONFIG_TCG_TPM) += tpm_bios.o | 9 | tpm-y += tpm_eventlog.o tpm_acpi.o |
9 | tpm_bios-objs += tpm_eventlog.o tpm_acpi.o tpm_ppi.o | ||
10 | else | 10 | else |
11 | ifdef CONFIG_TCG_IBMVTPM | 11 | ifdef CONFIG_TCG_IBMVTPM |
12 | obj-$(CONFIG_TCG_TPM) += tpm_bios.o | 12 | tpm-y += tpm_eventlog.o tpm_of.o |
13 | tpm_bios-objs += tpm_eventlog.o tpm_of.o | ||
14 | endif | 13 | endif |
15 | endif | 14 | endif |
16 | obj-$(CONFIG_TCG_TIS) += tpm_tis.o | 15 | obj-$(CONFIG_TCG_TIS) += tpm_tis.o |