]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ipmi: express dependencies with kconfig
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Jan 2019 11:16:25 +0000 (12:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 20:45:53 +0000 (21:45 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20190123065618.3520-36-yang.zhong@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/i386-softmmu.mak
default-configs/ppc64-softmmu.mak
hw/ipmi/Kconfig

index 53e9d5e96548f51b4530954519d4e25b758a168f..e779ee1676a403ab983e50438d502ec9ff04aee8 100644 (file)
@@ -1,9 +1,6 @@
 # Default configuration for i386-softmmu
 
 CONFIG_VMXNET3_PCI=y
-CONFIG_IPMI=y
-CONFIG_IPMI_LOCAL=y
-CONFIG_IPMI_EXTERN=y
 CONFIG_ISA_IPMI_KCS=y
 CONFIG_ISA_IPMI_BT=y
 
index a0a91513289040b7c0ce02a0b9e216f13d60d3a1..d642b6752d1839c600ccbcee294c3a3b3cadab86 100644 (file)
@@ -5,9 +5,6 @@ include ppc-softmmu.mak
 
 # For PowerNV
 CONFIG_POWERNV=y
-CONFIG_IPMI=y
-CONFIG_IPMI_LOCAL=y
-CONFIG_IPMI_EXTERN=y
 CONFIG_ISA_IPMI_BT=y
 
 # For pSeries
index 6a4f08f2faa2853de4a6c06ed54372842c8d43ec..b944fae1000b5eaee2293073bceb2b2c2e71ca53 100644 (file)
@@ -3,14 +3,20 @@ config IPMI
 
 config IPMI_LOCAL
     bool
+    default y
+    depends on IPMI
 
 config IPMI_EXTERN
     bool
+    default y
+    depends on IPMI
 
 config ISA_IPMI_KCS
     bool
     depends on ISA_BUS
+    select IPMI
 
 config ISA_IPMI_BT
     bool
     depends on ISA_BUS
+    select IPMI