]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/tpm/Makefile.objs
hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built
[mirror_qemu.git] / hw / tpm / Makefile.objs
index 99f5983143ca80085954d0835d1c08a22c17acae..de0b85d02ae7c32d4b843934dcd34dcd56b40b93 100644 (file)
@@ -1,2 +1,6 @@
+common-obj-$(CONFIG_TPM) += tpm_util.o
+obj-$(call lor,$(CONFIG_TPM_TIS),$(CONFIG_TPM_CRB)) += tpm_ppi.o
 common-obj-$(CONFIG_TPM_TIS) += tpm_tis.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