ipmi: express dependencies with kconfig

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>
This commit is contained in:
Paolo Bonzini 2019-01-29 12:16:25 +01:00
parent 464399a9b4
commit dd2356e531
3 changed files with 6 additions and 6 deletions

View 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

View 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

View 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