Files
qemu/target/arm/meson.build
Pierrick Bouvier 567787f936 target/arm: move kvm-stub to arm_stubs_ss
This eliminates symbol conflicts for kvm symbols on linux-aarch64 host.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20260528051642.115721-2-pierrick.bouvier@oss.qualcomm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2026-05-28 18:43:56 +02:00

80 lines
1.9 KiB
Meson

arm_ss = ss.source_set()
arm_common_ss = ss.source_set()
arm_common_system_ss = ss.source_set()
arm_common_user_system_ss = ss.source_set()
arm_system_ss = ss.source_set()
arm_stubs_ss = ss.source_set()
arm_user_ss = ss.source_set()
arm_common_system_ss.add(files('gdbstub.c'))
arm_user_ss.add(files('gdbstub.c'))
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
'cpu64.c',
))
arm_common_ss.add(files(
'mmuidx.c',
))
arm_common_user_system_ss.add(files(
'cpregs-gcs.c',
'cpregs-pmu.c',
'cpu-max.c',
'debug_helper.c',
'helper.c',
'vfp_fpscr.c',
))
arm_common_user_system_ss.add(when: 'TARGET_AARCH64', if_true: files(
'gdbstub64.c'
))
arm_common_system_ss.add(files(
'arm-qmp-cmds.c',
))
arm_system_ss.add(when: 'CONFIG_KVM', if_true: files('hyp_gdbstub.c', 'kvm.c'))
arm_system_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c'))
arm_user_ss.add(files('cpu.c'))
arm_stubs_ss.add(files(
'cpu32-stubs.c',
'kvm-stub.c'
))
arm_user_ss.add(files(
'el2-stubs.c',
'cpregs-omap-stub.c',
))
arm_user_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING',
if_true: files('common-semi-target.c'))
arm_common_system_ss.add(files('cpu.c'))
arm_common_system_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING',
if_true: files('common-semi-target.c'))
arm_common_system_ss.add(files(
'arch_dump.c',
'arm-powerctl.c',
'cortex-regs.c',
'cpregs-omap.c',
'cpu-irq.c',
'machine.c',
'ptw.c',
))
subdir('hvf')
subdir('whpx')
if 'CONFIG_TCG' in config_all_accel
subdir('tcg')
else
arm_common_system_ss.add(files('tcg-stubs.c'))
endif
arm_user_ss.add_all(arm_common_user_system_ss)
arm_common_system_ss.add_all(arm_common_user_system_ss)
target_arch += {'arm': arm_ss}
target_system_arch += {'arm': arm_system_ss}
target_user_arch += {'arm': arm_user_ss}
target_common_arch += {'arm': arm_common_ss}
target_common_system_arch += {'arm': arm_common_system_ss}
target_stubs_arch += {'arm': arm_stubs_ss}