Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
80 lines
1.9 KiB
Meson
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',
|
|
'gicv5-stubs.c',
|
|
'kvm-stub.c',
|
|
'tcg-stubs.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')
|
|
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}
|