blob: 7cea45287a27f9613fc3daf2dbb1df57181f044b [file] [log] [blame]
gen = decodetree.process('insns.decode')
or1k_ss = ss.source_set()
or1k_ss.add(gen)
or1k_ss.add(files(
'cpu.c',
'disas.c',
'exception.c',
'exception_helper.c',
'fpu_helper.c',
'interrupt_helper.c',
'sys_helper.c',
'translate.c',
))
or1k_user_ss = ss.source_set()
or1k_user_ss.add(files('gdbstub.c'))
or1k_common_system_ss = ss.source_set()
or1k_common_system_ss.add(files('gdbstub.c'))
or1k_system_ss = ss.source_set()
or1k_system_ss.add(files(
'interrupt.c',
'machine.c',
'mmu.c',
))
target_arch += {'or1k': or1k_ss}
target_user_arch += {'or1k': or1k_user_ss}
target_system_arch += {'or1k': or1k_system_ss}
target_common_system_arch += {'or1k': or1k_common_system_ss}