2020-08-07 12:10:23 +02:00
|
|
|
xtensa_ss = ss.source_set()
|
2021-03-30 09:25:24 +02:00
|
|
|
|
2021-05-18 12:43:24 +02:00
|
|
|
xtensa_cores = fs.read('cores.list')
|
|
|
|
xtensa_ss.add(files(xtensa_cores.strip().split('\n')))
|
2021-03-30 09:25:24 +02:00
|
|
|
|
2020-08-07 12:10:23 +02:00
|
|
|
xtensa_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'exc_helper.c',
|
|
|
|
'fpu_helper.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'helper.c',
|
|
|
|
'op_helper.c',
|
|
|
|
'translate.c',
|
|
|
|
'win_helper.c',
|
|
|
|
'xtensa-isa.c',
|
|
|
|
))
|
|
|
|
|
|
|
|
xtensa_softmmu_ss = ss.source_set()
|
|
|
|
xtensa_softmmu_ss.add(files(
|
|
|
|
'dbg_helper.c',
|
|
|
|
'mmu_helper.c',
|
|
|
|
'monitor.c',
|
|
|
|
'xtensa-semi.c',
|
|
|
|
))
|
|
|
|
|
|
|
|
target_arch += {'xtensa': xtensa_ss}
|
|
|
|
target_softmmu_arch += {'xtensa': xtensa_softmmu_ss}
|