[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 49/52] tpm: express dependencies with Kconfig
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 49/52] tpm: express dependencies with Kconfig |
Date: |
Fri, 25 Jan 2019 11:07:08 +0100 |
This automatically removes the SCSI subsystem from the
binary altogether if no controllers are selected.
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Yang Zhong <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/tpm/Kconfig | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/hw/tpm/Kconfig b/hw/tpm/Kconfig
index 8a63597..88890a2 100644
--- a/hw/tpm/Kconfig
+++ b/hw/tpm/Kconfig
@@ -1,18 +1,27 @@
config TPM
bool
+config TPMDEV
+ bool
+
config TPM_TIS
bool
default y if PC
depends on TPM
+ select TPMDEV
config TPM_CRB
bool
- default y
- depends on TPM && PC
+ default y if PC
+ depends on TPM
+ select TPMDEV
config TPM_PASSTHROUGH
bool
+ default y
+ depends on TPMDEV
config TPM_EMULATOR
bool
+ default y
+ depends on TPMDEV
--
1.8.3.1
- [Qemu-devel] [PATCH 28/52] minikconfig: add parser skeleton, (continued)
- [Qemu-devel] [PATCH 28/52] minikconfig: add parser skeleton, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 33/52] build: switch to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 35/52] ide: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 34/52] minikconf: implement allnoconfig and defconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 31/52] hw/display: make edid configurable, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 40/52] scsi: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 39/52] build: convert usb.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 43/52] i2c: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 46/52] hyperv: express dependencies with kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 48/52] virtio: express virtio dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 49/52] tpm: express dependencies with Kconfig,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 38/52] build: convert sound.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 36/52] hw/pci/Makefile.objs: make pcie configurable, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 47/52] vfio: express vfio dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 44/52] ptimer: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 45/52] display: express dependencies with kconfig, Paolo Bonzini, 2019/01/25