[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/7] hw/tpm: Move tpm_ppi.c out of target-specific source set
From: |
Thomas Huth |
Subject: |
[PATCH 3/7] hw/tpm: Move tpm_ppi.c out of target-specific source set |
Date: |
Thu, 12 Jan 2023 14:49:24 +0100 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
The TPM Physical Presence Interface is not target specific.
Build this file once for all targets.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221209170042.71169-4-philmd@linaro.org>
[thuth: Drop the CONFIG_SOFTMMU statements, they are not needed here]
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/tpm/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/tpm/meson.build b/hw/tpm/meson.build
index 1c68d81d6a..7abc2d794a 100644
--- a/hw/tpm/meson.build
+++ b/hw/tpm/meson.build
@@ -2,7 +2,7 @@ softmmu_ss.add(when: 'CONFIG_TPM_TIS', if_true:
files('tpm_tis_common.c'))
softmmu_ss.add(when: 'CONFIG_TPM_TIS_ISA', if_true: files('tpm_tis_isa.c'))
softmmu_ss.add(when: 'CONFIG_TPM_TIS_SYSBUS', if_true:
files('tpm_tis_sysbus.c'))
softmmu_ss.add(when: 'CONFIG_TPM_CRB', if_true: files('tpm_crb.c'))
+softmmu_ss.add(when: 'CONFIG_TPM_TIS', if_true: files('tpm_ppi.c'))
+softmmu_ss.add(when: 'CONFIG_TPM_CRB', if_true: files('tpm_ppi.c'))
-specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_TIS'], if_true:
files('tpm_ppi.c'))
-specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_CRB'], if_true:
files('tpm_ppi.c'))
specific_ss.add(when: 'CONFIG_TPM_SPAPR', if_true: files('tpm_spapr.c'))
--
2.31.1
- [PATCH 0/7] Trivial: Mark some more files as target-independant, Thomas Huth, 2023/01/12
- [PATCH 1/7] hw/display: Move omap_lcdc.c out of target-specific source set, Thomas Huth, 2023/01/12
- [PATCH 2/7] hw/intc: Move some files out of the target-specific source set, Thomas Huth, 2023/01/12
- [PATCH 3/7] hw/tpm: Move tpm_ppi.c out of target-specific source set,
Thomas Huth <=
- [PATCH 4/7] hw/arm: Move various units to softmmu_ss[], Thomas Huth, 2023/01/12
- [PATCH 6/7] hw/intc: Mark more interrupt-controller files as target independent, Thomas Huth, 2023/01/12
- [PATCH 5/7] hw/cpu: Mark arm11 and realview mpcore as target-independent code, Thomas Huth, 2023/01/12
- [PATCH 7/7] hw/usb: Mark the XLNX_VERSAL-related files as target-independent, Thomas Huth, 2023/01/12
- Re: [PATCH 0/7] Trivial: Mark some more files as target-independant, Richard Henderson, 2023/01/13
- Re: [PATCH 0/7] Trivial: Mark some more files as target-independant, Laurent Vivier, 2023/01/16