xref: /openbmc/qemu/target/avr/meson.build (revision d0bf492f)
1gen = [
2  decodetree.process('insn.decode', extra_args: [ '--decode', 'decode_insn',
3                                                  '--insnwidth', '16' ])
4]
5
6avr_ss = ss.source_set()
7avr_system_ss = ss.source_set()
8
9avr_ss.add(gen)
10avr_ss.add(files(
11  'translate.c',
12  'helper.c',
13  'cpu.c',
14  'gdbstub.c',
15  'disas.c'))
16
17avr_system_ss.add(files('machine.c'))
18
19target_arch += {'avr': avr_ss}
20target_softmmu_arch += {'avr': avr_system_ss}
21