Skip to contentSkip to conversation

Merge tpm 2019/07/08 v1

GIT PULL Applied Stefan Berger 2 participants 3 messages Jul 8, 2019 – Jul 9, 2019

lore
Share & tools
lore
#1 lore raw

[Qemu-devel] [PULL v1 1/1] hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built

In reply to Stefan Berger

From: Philippe Mathieu-Daudé <[email protected]>

The TPM Physical Presence Interface routines are only used by the CRB/TIS interfaces. Do not compile this file if any of them is built.

---
 hw/tpm/Makefile.objs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/tpm/Makefile.objs +2 -2
index 700c878622..de0b85d02a 100644
@@ -1,5 +1,5 @@
-common-obj-y += tpm_util.o
-obj-y += tpm_ppi.o
+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
Signature · 1 line
2.20.1
#0 lore raw

The following changes since commit 506179e42112be77bfd071f050b15762d3b2cd43:

Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.1-20190702' into staging (2019-07-02 18:56:44 +0100)

are available in the Git repository at:

git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2019-07-08-1

for you to fetch changes up to 2bb086f779e079851dd2fd5edb87864893278fb6:

hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built (2019-07-08 10:04:38 -0400)

----------------------------------------------------------------
Philippe Mathieu-Daudé (1):
hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built

 hw/tpm/Makefile.objs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1
#2 lore raw
Quoted 11 lines · Stefan Berger

The following changes since commit 506179e42112be77bfd071f050b15762d3b2cd43:

Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.1-20190702' into staging (2019-07-02 18:56:44 +0100)

are available in the Git repository at:

git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2019-07-08-1

for you to fetch changes up to 2bb086f779e079851dd2fd5edb87864893278fb6:

Quoted 8 lines

hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built (2019-07-08 10:04:38 -0400)

----------------------------------------------------------------
Philippe Mathieu-Daudé (1):
hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built

 hw/tpm/Makefile.objs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.

-- PMM