master
build 22 lines 575 Bytes
Raw
1 gen = [
2 decodetree.process('insn.decode', extra_args: [ '--decode', 'decode_insn',
3 '--insnwidth', '16' ])
4 ]
5
6 avr_ss = ss.source_set()
7 avr_system_ss = ss.source_set()
8
9 avr_ss.add(gen)
10 avr_ss.add(files(
11 'translate.c',
12 'helper.c',
13 'cpu.c',
14 'disas.c'))
15
16 avr_common_system_ss = ss.source_set()
17 avr_common_system_ss.add(files('gdbstub.c'))
18 avr_common_system_ss.add(files('machine.c'))
19
20 target_arch += {'avr': avr_ss}
21 target_system_arch += {'avr': avr_system_ss}
22 target_common_system_arch += {'avr': avr_common_system_ss}