]>
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( | |
27edd504 | 11 | 'cpu_helper.c', |
381b43f8 | 12 | 'loongarch-qmp-cmds.c', |
67ebd42a XY |
13 | 'machine.c', |
14 | )) | |
15 | ||
2e0d9151 RH |
16 | common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen]) |
17 | ||
5c23704e | 18 | subdir('tcg') |
14f2b0b7 SG |
19 | |
20 | target_arch += {'loongarch': loongarch_ss} | |
01c85e60 | 21 | target_system_arch += {'loongarch': loongarch_system_ss} |
714b03c1 | 22 | subdir('kvm') |