1gen = decodetree.process('insns.decode') 2 3openrisc_ss = ss.source_set() 4openrisc_ss.add(gen) 5openrisc_ss.add(files( 6 'cpu.c', 7 'disas.c', 8 'exception.c', 9 'exception_helper.c', 10 'fpu_helper.c', 11 'gdbstub.c', 12 'interrupt_helper.c', 13 'sys_helper.c', 14 'translate.c', 15)) 16 17openrisc_system_ss = ss.source_set() 18openrisc_system_ss.add(files( 19 'interrupt.c', 20 'machine.c', 21 'mmu.c', 22)) 23 24target_arch += {'openrisc': openrisc_ss} 25target_system_arch += {'openrisc': openrisc_system_ss} 26