audio: make playback packet length calculation exact
[qemu/ar7.git] / target / loongarch / meson.build
blob9293a8ab784290114bf66ca3306552c40663abe5
1 gen = decodetree.process('insns.decode')
3 loongarch_ss = ss.source_set()
4 loongarch_ss.add(files(
5   'cpu.c',
6 ))
7 loongarch_tcg_ss = ss.source_set()
8 loongarch_tcg_ss.add(gen)
9 loongarch_tcg_ss.add(files(
10   'fpu_helper.c',
11   'op_helper.c',
12   'translate.c',
13   'gdbstub.c',
15 loongarch_tcg_ss.add(zlib)
17 loongarch_softmmu_ss = ss.source_set()
18 loongarch_softmmu_ss.add(files(
19   'loongarch-qmp-cmds.c',
20   'machine.c',
21   'tlb_helper.c',
22   'constant_timer.c',
23   'csr_helper.c',
24   'iocsr_helper.c',
27 common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
29 loongarch_ss.add_all(when: 'CONFIG_TCG', if_true: [loongarch_tcg_ss])
31 target_arch += {'loongarch': loongarch_ss}
32 target_softmmu_arch += {'loongarch': loongarch_softmmu_ss}