de6cd7599b
We use the user_ss[] array to hold the user emulation sources, and the softmmu_ss[] array to hold the system emulation ones. Hold the latter in the 'system_ss[]' array for parity with user emulation. Mechanical change doing: $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230613133347.82210-10-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
39 lines
758 B
Meson
39 lines
758 B
Meson
arm_ss = ss.source_set()
|
|
arm_ss.add(files(
|
|
'cpu.c',
|
|
'debug_helper.c',
|
|
'gdbstub.c',
|
|
'helper.c',
|
|
'vfp_helper.c',
|
|
))
|
|
arm_ss.add(zlib)
|
|
|
|
arm_ss.add(when: 'CONFIG_KVM', if_true: files('hyp_gdbstub.c', 'kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
|
|
arm_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c'))
|
|
|
|
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
|
'cpu64.c',
|
|
'gdbstub64.c',
|
|
))
|
|
|
|
arm_system_ss = ss.source_set()
|
|
arm_system_ss.add(files(
|
|
'arch_dump.c',
|
|
'arm-powerctl.c',
|
|
'arm-qmp-cmds.c',
|
|
'cortex-regs.c',
|
|
'machine.c',
|
|
'ptw.c',
|
|
))
|
|
|
|
subdir('hvf')
|
|
|
|
if 'CONFIG_TCG' in config_all
|
|
subdir('tcg')
|
|
else
|
|
arm_ss.add(files('tcg-stubs.c'))
|
|
endif
|
|
|
|
target_arch += {'arm': arm_ss}
|
|
target_softmmu_arch += {'arm': arm_system_ss}
|