lm32-softmmu.mak: express dependencies with Kconfig
%-softmmu.mak only keep boards and optional device definitions in Kconfig mode. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
		
							parent
							
								
									9483cf27dd
								
							
						
					
					
						commit
						0858746b83
					
				@ -1,8 +1,10 @@
 | 
			
		||||
# Default configuration for lm32-softmmu
 | 
			
		||||
 | 
			
		||||
# Uncomment the following lines to disable these optional devices:
 | 
			
		||||
#
 | 
			
		||||
#CONFIG_MILKYMIST_TMU2=n        # disabling it actually causes compile-time failures
 | 
			
		||||
 | 
			
		||||
# Boards:
 | 
			
		||||
#
 | 
			
		||||
CONFIG_LM32=y
 | 
			
		||||
CONFIG_MILKYMIST=y
 | 
			
		||||
CONFIG_FRAMEBUFFER=y
 | 
			
		||||
CONFIG_PFLASH_CFI01=y
 | 
			
		||||
CONFIG_PFLASH_CFI02=y
 | 
			
		||||
CONFIG_SD=y
 | 
			
		||||
 | 
			
		||||
@ -70,8 +70,7 @@ config FRAMEBUFFER
 | 
			
		||||
 | 
			
		||||
config MILKYMIST_TMU2
 | 
			
		||||
    bool
 | 
			
		||||
    default y
 | 
			
		||||
    depends on OPENGL && X11 && MILKYMIST
 | 
			
		||||
    depends on OPENGL && X11
 | 
			
		||||
 | 
			
		||||
config SM501
 | 
			
		||||
    bool
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,13 @@
 | 
			
		||||
config LM32
 | 
			
		||||
    bool
 | 
			
		||||
    select PTIMER
 | 
			
		||||
    select PFLASH_CFI02
 | 
			
		||||
 | 
			
		||||
config MILKYMIST
 | 
			
		||||
    bool
 | 
			
		||||
    # FIXME: disabling it results in compile-time errors
 | 
			
		||||
    select MILKYMIST_TMU2 if OPENGL && X11
 | 
			
		||||
    select PTIMER
 | 
			
		||||
    select PFLASH_CFI01
 | 
			
		||||
    select FRAMEBUFFER
 | 
			
		||||
    select SD
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user