1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
gen = decodetree.process('insns.decode') microblaze_ss = ss.source_set() microblaze_ss.add(gen) microblaze_ss.add(files( 'cpu.c', 'gdbstub.c', 'helper.c', 'op_helper.c', 'translate.c', )) microblaze_system_ss = ss.source_set() microblaze_system_ss.add(files( 'mmu.c', 'machine.c', )) target_arch += {'microblaze': microblaze_ss} target_system_arch += {'microblaze': microblaze_system_ss}