Since we *might* have user emulation with softmmu, use the clearer 'CONFIG_SYSTEM_ONLY' key to check for system emulation. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230613133347.82210-9-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
 | 
						|
  'guestfd.c',
 | 
						|
  'syscalls.c',
 | 
						|
))
 | 
						|
 | 
						|
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
 | 
						|
  'config.c',
 | 
						|
  'console.c',
 | 
						|
  'uaccess.c',
 | 
						|
))
 | 
						|
 | 
						|
specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
 | 
						|
		if_true: files('arm-compat-semi.c'))
 |