 cfc1a889e5
			
		
	
	
		cfc1a889e5
		
	
	
	
	
		
			
			config_all now lists only accelerators, rename it to indicate its actual content. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			442 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			442 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| mips_user_ss = ss.source_set()
 | |
| mips_system_ss = ss.source_set()
 | |
| mips_ss = ss.source_set()
 | |
| mips_ss.add(files(
 | |
|   'cpu.c',
 | |
|   'fpu.c',
 | |
|   'gdbstub.c',
 | |
|   'msa.c',
 | |
| ))
 | |
| 
 | |
| if have_system
 | |
|   subdir('sysemu')
 | |
| endif
 | |
| 
 | |
| if 'CONFIG_TCG' in config_all_accel
 | |
|   subdir('tcg')
 | |
| endif
 | |
| 
 | |
| mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
 | |
| 
 | |
| target_arch += {'mips': mips_ss}
 | |
| target_system_arch += {'mips': mips_system_ss}
 | |
| target_user_arch += {'mips': mips_user_ss}
 |