Comments
Patch
===================================================================
@@ -4279,6 +4279,14 @@ if test "$tpm" = "yes"; then
fi
fi
+if test "$target_softmmu" = "yes" ; then
+ case "$TARGET_BASE_ARCH" in
+ i386|x86_64)
+ cflags="-DHAS_TPM_CHOICE $cflags"
+ ;;
+ esac
+fi
+
if test "$ARCH" = "tci"; then
linker_script=""
else
===================================================================
@@ -1,3 +1,3 @@
-common-obj-y = tpm.o
+obj-y = tpm.o
common-obj-$(CONFIG_TPM) += tpm_tis.o tpm_backend.o
common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o
===================================================================
@@ -75,6 +75,7 @@ common-obj-y += dma-helpers.o
common-obj-y += qtest.o
common-obj-y += vl.o
common-obj-y += tpm/
+obj-y += tpm/
common-obj-$(CONFIG_SLIRP) += slirp/