1arm_ss = ss.source_set() 2arm_ss.add(files( 3 'cpu.c', 4 'debug_helper.c', 5 'gdbstub.c', 6 'helper.c', 7 'vfp_helper.c', 8 'cpu_tcg.c', 9)) 10arm_ss.add(zlib) 11 12arm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c')) 13 14arm_ss.add(when: 'TARGET_AARCH64', if_true: files( 15 'cpu64.c', 16 'gdbstub64.c', 17)) 18 19arm_softmmu_ss = ss.source_set() 20arm_softmmu_ss.add(files( 21 'arch_dump.c', 22 'arm-powerctl.c', 23 'arm-qmp-cmds.c', 24 'machine.c', 25 'ptw.c', 26)) 27 28subdir('hvf') 29 30if 'CONFIG_TCG' in config_all 31 subdir('tcg') 32else 33 arm_ss.add(files('tcg-stubs.c')) 34endif 35 36target_arch += {'arm': arm_ss} 37target_softmmu_arch += {'arm': arm_softmmu_ss} 38