blob: 31608b6dc7feb99c99832b0e04b6593360d02a4e [file] [log] [blame]
gen = decodetree.process('insns.decode')
openrisc_ss = ss.source_set()
openrisc_ss.add(gen)
openrisc_ss.add(files(
'cpu.c',
'disas.c',
'exception.c',
'exception_helper.c',
'fpu_helper.c',
'gdbstub.c',
'interrupt_helper.c',
'sys_helper.c',
'translate.c',
))
openrisc_system_ss = ss.source_set()
openrisc_system_ss.add(files(
'interrupt.c',
'machine.c',
'mmu.c',
))
target_arch += {'openrisc': openrisc_ss}
target_system_arch += {'openrisc': openrisc_system_ss}