2020-08-07 13:10:23 +03:00
|
|
|
xtensa_ss = ss.source_set()
|
2021-03-30 10:25:24 +03:00
|
|
|
|
2021-05-18 13:43:24 +03:00
|
|
|
xtensa_cores = fs.read('cores.list')
|
|
|
|
xtensa_ss.add(files(xtensa_cores.strip().split('\n')))
|
2021-03-30 10:25:24 +03:00
|
|
|
|
2020-08-07 13:10:23 +03: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',
|
|
|
|
))
|
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
xtensa_system_ss = ss.source_set()
|
|
|
|
xtensa_system_ss.add(files(
|
2020-08-07 13:10:23 +03:00
|
|
|
'dbg_helper.c',
|
|
|
|
'mmu_helper.c',
|
|
|
|
'monitor.c',
|
|
|
|
'xtensa-semi.c',
|
|
|
|
))
|
|
|
|
|
|
|
|
target_arch += {'xtensa': xtensa_ss}
|
2023-10-04 12:06:27 +03:00
|
|
|
target_system_arch += {'xtensa': xtensa_system_ss}
|