2020-08-07 12:10:23 +02:00
|
|
|
arm_ss = ss.source_set()
|
|
|
|
arm_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'debug_helper.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'helper.c',
|
|
|
|
'vfp_helper.c',
|
|
|
|
'cpu_tcg.c',
|
|
|
|
))
|
|
|
|
arm_ss.add(zlib)
|
|
|
|
|
2020-09-04 17:41:55 +02:00
|
|
|
arm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
|
2020-08-07 12:10:23 +02:00
|
|
|
|
|
|
|
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
|
|
|
'cpu64.c',
|
|
|
|
'gdbstub64.c',
|
|
|
|
))
|
|
|
|
|
|
|
|
arm_softmmu_ss = ss.source_set()
|
|
|
|
arm_softmmu_ss.add(files(
|
|
|
|
'arch_dump.c',
|
|
|
|
'arm-powerctl.c',
|
|
|
|
'machine.c',
|
|
|
|
'monitor.c',
|
2022-06-08 20:38:48 +02:00
|
|
|
'ptw.c',
|
2020-08-07 12:10:23 +02:00
|
|
|
))
|
|
|
|
|
2021-09-16 17:54:02 +02:00
|
|
|
subdir('hvf')
|
|
|
|
|
2023-02-17 21:11:29 +01:00
|
|
|
if 'CONFIG_TCG' in config_all
|
|
|
|
subdir('tcg')
|
2023-02-17 21:11:30 +01:00
|
|
|
else
|
|
|
|
arm_ss.add(files('tcg-stubs.c'))
|
2023-02-17 21:11:29 +01:00
|
|
|
endif
|
|
|
|
|
2020-08-07 12:10:23 +02:00
|
|
|
target_arch += {'arm': arm_ss}
|
|
|
|
target_softmmu_arch += {'arm': arm_softmmu_ss}
|