xref: /openbmc/qemu/target/avr/meson.build (revision 9d49b1c9edf829e571093088ddff0b73db3110c6)
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   'gdbstub.c',
15   'disas.c'))
16 
17 avr_system_ss.add(files('machine.c'))
18 
19 target_arch += {'avr': avr_ss}
20 target_system_arch += {'avr': avr_system_ss}
21