Finish the convertion started with commit de6cd7599b
("meson: Replace softmmu_ss -> system_ss"). If the
$target_type is 'system', then use the target_system_arch[]
source set :)
Mechanical change doing:
  $ sed -i -e s/target_softmmu_arch/target_system_arch/g \
      $(git grep -l target_softmmu_arch)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-13-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
	
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			440 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			440 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
gen = [
 | 
						|
  decodetree.process('insn.decode', extra_args: [ '--decode', 'decode_insn',
 | 
						|
                                                  '--insnwidth', '16' ])
 | 
						|
]
 | 
						|
 | 
						|
avr_ss = ss.source_set()
 | 
						|
avr_system_ss = ss.source_set()
 | 
						|
 | 
						|
avr_ss.add(gen)
 | 
						|
avr_ss.add(files(
 | 
						|
  'translate.c',
 | 
						|
  'helper.c',
 | 
						|
  'cpu.c',
 | 
						|
  'gdbstub.c',
 | 
						|
  'disas.c'))
 | 
						|
 | 
						|
avr_system_ss.add(files('machine.c'))
 | 
						|
 | 
						|
target_arch += {'avr': avr_ss}
 | 
						|
target_system_arch += {'avr': avr_system_ss}
 |