1 gen = decodetree.process('insns.decode')
3 loongarch_ss = ss.source_set()
4 loongarch_ss.add(files(
7 loongarch_tcg_ss = ss.source_set()
8 loongarch_tcg_ss.add(gen)
9 loongarch_tcg_ss.add(files(
15 loongarch_tcg_ss.add(zlib)
17 loongarch_softmmu_ss = ss.source_set()
18 loongarch_softmmu_ss.add(files(
19 'loongarch-qmp-cmds.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}