Let's separate the compilation of tpm_tis_common.c from the compilation of tpm_tis_isa.c The common part will be also compiled along with the tpm_tis_sysbus device. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Message-id: 20200305165149.618-5-eric.auger@redhat.com Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
9 lines
394 B
Makefile
9 lines
394 B
Makefile
common-obj-$(CONFIG_TPM) += tpm_util.o
|
|
obj-$(call lor,$(CONFIG_TPM_TIS),$(CONFIG_TPM_CRB)) += tpm_ppi.o
|
|
common-obj-$(CONFIG_TPM_TIS_ISA) += tpm_tis_isa.o
|
|
common-obj-$(CONFIG_TPM_TIS) += tpm_tis_common.o
|
|
common-obj-$(CONFIG_TPM_CRB) += tpm_crb.o
|
|
common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o
|
|
common-obj-$(CONFIG_TPM_EMULATOR) += tpm_emulator.o
|
|
obj-$(CONFIG_TPM_SPAPR) += tpm_spapr.o
|