1abff1abfSPaolo Bonziniarm_ss = ss.source_set() 2abff1abfSPaolo Bonziniarm_ss.add(files( 3abff1abfSPaolo Bonzini 'cpu.c', 4abff1abfSPaolo Bonzini 'debug_helper.c', 5abff1abfSPaolo Bonzini 'gdbstub.c', 6abff1abfSPaolo Bonzini 'helper.c', 7abff1abfSPaolo Bonzini 'vfp_helper.c', 8abff1abfSPaolo Bonzini 'cpu_tcg.c', 9abff1abfSPaolo Bonzini)) 10abff1abfSPaolo Bonziniarm_ss.add(zlib) 11abff1abfSPaolo Bonzini 1282bf7ae8SPeter Maydellarm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c')) 13abff1abfSPaolo Bonzini 14abff1abfSPaolo Bonziniarm_ss.add(when: 'TARGET_AARCH64', if_true: files( 15abff1abfSPaolo Bonzini 'cpu64.c', 16abff1abfSPaolo Bonzini 'gdbstub64.c', 17abff1abfSPaolo Bonzini)) 18abff1abfSPaolo Bonzini 19abff1abfSPaolo Bonziniarm_softmmu_ss = ss.source_set() 20abff1abfSPaolo Bonziniarm_softmmu_ss.add(files( 21abff1abfSPaolo Bonzini 'arch_dump.c', 22abff1abfSPaolo Bonzini 'arm-powerctl.c', 23abff1abfSPaolo Bonzini 'machine.c', 24abff1abfSPaolo Bonzini 'monitor.c', 25abff1abfSPaolo Bonzini 'psci.c', 268ae08860SRichard Henderson 'ptw.c', 27abff1abfSPaolo Bonzini)) 28abff1abfSPaolo Bonzini 29844a06bbSAlexander Grafsubdir('hvf') 30844a06bbSAlexander Graf 31f0984d40SFabiano Rosasif 'CONFIG_TCG' in config_all 32f0984d40SFabiano Rosas subdir('tcg') 33*a3ef070eSClaudio Fontanaelse 34*a3ef070eSClaudio Fontana arm_ss.add(files('tcg-stubs.c')) 35f0984d40SFabiano Rosasendif 36f0984d40SFabiano Rosas 37abff1abfSPaolo Bonzinitarget_arch += {'arm': arm_ss} 38abff1abfSPaolo Bonzinitarget_softmmu_arch += {'arm': arm_softmmu_ss} 39