2020-08-18 00:42:44 +08:00
|
|
|
gen = decodetree.process('insns.decode')
|
|
|
|
|
2020-08-07 18:10:23 +08:00
|
|
|
microblaze_ss = ss.source_set()
|
2020-08-18 00:42:44 +08:00
|
|
|
microblaze_ss.add(gen)
|
2020-08-07 18:10:23 +08:00
|
|
|
microblaze_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'helper.c',
|
|
|
|
'op_helper.c',
|
|
|
|
'translate.c',
|
|
|
|
))
|
|
|
|
|
|
|
|
microblaze_softmmu_ss = ss.source_set()
|
2020-09-03 12:41:00 +08:00
|
|
|
microblaze_softmmu_ss.add(files(
|
|
|
|
'mmu.c',
|
|
|
|
'machine.c',
|
|
|
|
))
|
2020-08-07 18:10:23 +08:00
|
|
|
|
|
|
|
target_arch += {'microblaze': microblaze_ss}
|
|
|
|
target_softmmu_arch += {'microblaze': microblaze_softmmu_ss}
|