On 07/03/19 14:47, Philippe Mathieu-Daudé wrote:
> Paolo, we might need:
> 
> -- >8 --
> diff --git a/Makefile b/Makefile
> --- a/Makefile
> +++ b/Makefile
> @@ -336,6 +336,7 @@ MINIKCONF_ARGS = \
>      CONFIG_SPICE=$(CONFIG_SPICE) \
>      CONFIG_IVSHMEM=$(CONFIG_IVSHMEM) \
>      CONFIG_TPM=$(CONFIG_TPM) \
> +    CONFIG_TPM_EMULATOR=$(CONFIG_TPM_EMULATOR) \
>      CONFIG_XEN=$(CONFIG_XEN) \
>      CONFIG_OPENGL=$(CONFIG_OPENGL) \
>      CONFIG_X11=$(CONFIG_X11) \
> ---
> 
> I'm not sure about CONFIG_TPM_PASSTHROUGH.

Instead of that I'm disabling tpm completely in configure for mingw:

tpm=""
...
if test "$tpm" = ""; then
  if test "$mingw32" = "yes"; then
    tpm=no
  else
    tpm=yes
  fi
elif test "$tpm" = "yes"; then
  if test "$mingw32" = "yes" ; then
    error_exit "TPM emulation only available on POSIX systems"
  fi
fi

Paolo

Reply via email to