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:
		
							parent
							
								
									464399a9b4
								
							
						
					
					
						commit
						dd2356e531
					
				@ -1,9 +1,6 @@
 | 
				
			|||||||
# Default configuration for i386-softmmu
 | 
					# Default configuration for i386-softmmu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CONFIG_VMXNET3_PCI=y
 | 
					CONFIG_VMXNET3_PCI=y
 | 
				
			||||||
CONFIG_IPMI=y
 | 
					 | 
				
			||||||
CONFIG_IPMI_LOCAL=y
 | 
					 | 
				
			||||||
CONFIG_IPMI_EXTERN=y
 | 
					 | 
				
			||||||
CONFIG_ISA_IPMI_KCS=y
 | 
					CONFIG_ISA_IPMI_KCS=y
 | 
				
			||||||
CONFIG_ISA_IPMI_BT=y
 | 
					CONFIG_ISA_IPMI_BT=y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -5,9 +5,6 @@ include ppc-softmmu.mak
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# For PowerNV
 | 
					# For PowerNV
 | 
				
			||||||
CONFIG_POWERNV=y
 | 
					CONFIG_POWERNV=y
 | 
				
			||||||
CONFIG_IPMI=y
 | 
					 | 
				
			||||||
CONFIG_IPMI_LOCAL=y
 | 
					 | 
				
			||||||
CONFIG_IPMI_EXTERN=y
 | 
					 | 
				
			||||||
CONFIG_ISA_IPMI_BT=y
 | 
					CONFIG_ISA_IPMI_BT=y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# For pSeries
 | 
					# For pSeries
 | 
				
			||||||
 | 
				
			|||||||
@ -3,14 +3,20 @@ config IPMI
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
config IPMI_LOCAL
 | 
					config IPMI_LOCAL
 | 
				
			||||||
    bool
 | 
					    bool
 | 
				
			||||||
 | 
					    default y
 | 
				
			||||||
 | 
					    depends on IPMI
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config IPMI_EXTERN
 | 
					config IPMI_EXTERN
 | 
				
			||||||
    bool
 | 
					    bool
 | 
				
			||||||
 | 
					    default y
 | 
				
			||||||
 | 
					    depends on IPMI
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config ISA_IPMI_KCS
 | 
					config ISA_IPMI_KCS
 | 
				
			||||||
    bool
 | 
					    bool
 | 
				
			||||||
    depends on ISA_BUS
 | 
					    depends on ISA_BUS
 | 
				
			||||||
 | 
					    select IPMI
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config ISA_IPMI_BT
 | 
					config ISA_IPMI_BT
 | 
				
			||||||
    bool
 | 
					    bool
 | 
				
			||||||
    depends on ISA_BUS
 | 
					    depends on ISA_BUS
 | 
				
			||||||
 | 
					    select IPMI
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user