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(
16 loongarch_tcg_ss.add(zlib)
18 loongarch_system_ss = ss.source_set()
19 loongarch_system_ss.add(files(
20 'loongarch-qmp-cmds.c',
28 common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
30 loongarch_ss.add_all(when: 'CONFIG_TCG', if_true: [loongarch_tcg_ss])
32 target_arch += {'loongarch': loongarch_ss}
33 target_system_arch += {'loongarch': loongarch_system_ss}