1m68k_ss = ss.source_set() 2m68k_ss.add(files( 3 'cpu.c', 4 'fpu_helper.c', 5 'gdbstub.c', 6 'helper.c', 7 'op_helper.c', 8 'softfloat.c', 9 'translate.c', 10)) 11 12m68k_system_ss = ss.source_set() 13m68k_system_ss.add(files( 14 'monitor.c' 15)) 16m68k_system_ss.add(when: ['CONFIG_SEMIHOSTING'], 17 if_true: files('m68k-semi.c'), 18 if_false: files('semihosting-stub.c') 19) 20 21target_arch += {'m68k': m68k_ss} 22target_system_arch += {'m68k': m68k_system_ss} 23