[Qemu-devel] [PATCH 0/3] tpm: add stubs to fix compiling with --disable-tpm

Philippe Mathieu-Daudé posted 3 patches 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20171023213359.23025-1-f4bug@amsat.org
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
Makefile.objs        |  2 +-
include/sysemu/tpm.h |  1 +
stubs/tpm.c          | 33 +++++++++++++++++++++++++++++++++
vl.c                 |  2 --
MAINTAINERS          |  1 +
stubs/Makefile.objs  |  1 +
6 files changed, 37 insertions(+), 3 deletions(-)
create mode 100644 stubs/tpm.c
[Qemu-devel] [PATCH 0/3] tpm: add stubs to fix compiling with --disable-tpm
Posted by Philippe Mathieu-Daudé 6 years, 5 months ago
This fixes building with --disable-tpm as reported by Zoltan:
  http://lists.nongnu.org/archive/html/qemu-devel/2017-10/msg05369.html

Cc'ing Peter in case this enters as build fix instead of via trivial.

Regards,

Phil.

Philippe Mathieu-Daudé (3):
  tpm: add missing include
  tpm: add stubs
  vl: remove unnecessary #ifdef CONFIG_TPM

 Makefile.objs        |  2 +-
 include/sysemu/tpm.h |  1 +
 stubs/tpm.c          | 33 +++++++++++++++++++++++++++++++++
 vl.c                 |  2 --
 MAINTAINERS          |  1 +
 stubs/Makefile.objs  |  1 +
 6 files changed, 37 insertions(+), 3 deletions(-)
 create mode 100644 stubs/tpm.c

-- 
2.15.0.rc1