Files
Yaya48 cf256aa081 Import QEMU upstream snapshot d2e570c
Upstream: https://gitlab.com/qemu-project/qemu.git

Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
2026-08-31 02:15:30 +02:00

32 lines
816 B
Meson

gen = decodetree.process('insns.decode')
loongarch_ss = ss.source_set()
loongarch_ss.add(files(
'cpu.c',
))
loongarch_user_ss = ss.source_set()
loongarch_user_ss.add(files('gdbstub.c'))
loongarch_common_system_ss = ss.source_set()
loongarch_common_system_ss.add(files('gdbstub.c'))
loongarch_common_system_ss.add(files('machine.c'))
loongarch_system_ss = ss.source_set()
loongarch_system_ss.add(files(
'arch_dump.c',
'cpu_helper.c',
'csr.c',
'loongarch-qmp-cmds.c',
))
common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
subdir('tcg')
target_arch += {'loongarch': loongarch_ss}
target_user_arch += {'loongarch': loongarch_user_ss}
target_system_arch += {'loongarch': loongarch_system_ss}
target_common_system_arch += {'loongarch': loongarch_common_system_ss}
subdir('kvm')