]>
Commit | Line | Data |
---|---|---|
14f2b0b7 SG |
1 | gen = decodetree.process('insns.decode') |
2 | ||
3 | loongarch_ss = ss.source_set() | |
4 | loongarch_ss.add(files( | |
5 | 'cpu.c', | |
beb60920 | 6 | 'gdbstub.c', |
14f2b0b7 | 7 | )) |
14f2b0b7 | 8 | |
de6cd759 PMD |
9 | loongarch_system_ss = ss.source_set() |
10 | loongarch_system_ss.add(files( | |
381b43f8 | 11 | 'loongarch-qmp-cmds.c', |
67ebd42a XY |
12 | 'machine.c', |
13 | )) | |
14 | ||
2e0d9151 RH |
15 | common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen]) |
16 | ||
5c23704e | 17 | subdir('tcg') |
14f2b0b7 SG |
18 | |
19 | target_arch += {'loongarch': loongarch_ss} | |
01c85e60 | 20 | target_system_arch += {'loongarch': loongarch_system_ss} |
714b03c1 | 21 | subdir('kvm') |