1abff1abfSPaolo Bonzinis390x_ss = ss.source_set() 2abff1abfSPaolo Bonzinis390x_ss.add(files( 3abff1abfSPaolo Bonzini 'cpu.c', 4abff1abfSPaolo Bonzini 'cpu_features.c', 5abff1abfSPaolo Bonzini 'cpu_models.c', 6abff1abfSPaolo Bonzini 'gdbstub.c', 7abff1abfSPaolo Bonzini 'interrupt.c', 898be64d2SCho, Yu-Chen 'cpu-dump.c', 9abff1abfSPaolo Bonzini)) 10abff1abfSPaolo Bonzini 11d3b18480SMarc-André Lureaugen_features = executable('gen-features', 'gen-features.c', native: true, 12d3b18480SMarc-André Lureau build_by_default: false) 13d3b18480SMarc-André Lureau 14d3b18480SMarc-André Lureaugen_features_h = custom_target('gen-features.h', 15d3b18480SMarc-André Lureau output: 'gen-features.h', 16d3b18480SMarc-André Lureau capture: true, 17d3b18480SMarc-André Lureau command: gen_features) 18d3b18480SMarc-André Lureau 19abff1abfSPaolo Bonzinis390x_ss.add(gen_features_h) 20abff1abfSPaolo Bonzini 21de6cd759SPhilippe Mathieu-Daudés390x_system_ss = ss.source_set() 22de6cd759SPhilippe Mathieu-Daudés390x_system_ss.add(files( 23da944885SCho, Yu-Chen 'helper.c', 24abff1abfSPaolo Bonzini 'arch_dump.c', 25abff1abfSPaolo Bonzini 'diag.c', 26abff1abfSPaolo Bonzini 'ioinst.c', 27abff1abfSPaolo Bonzini 'machine.c', 28abff1abfSPaolo Bonzini 'mmu_helper.c', 29abff1abfSPaolo Bonzini 'sigp.c', 3072ffb631SCho, Yu-Chen 'cpu-sysemu.c', 317ab3eb42SCho, Yu-Chen 'cpu_models_sysemu.c', 32abff1abfSPaolo Bonzini)) 33abff1abfSPaolo Bonzini 3433f6a7d6SCho, Yu-Chens390x_user_ss = ss.source_set() 357ab3eb42SCho, Yu-Chens390x_user_ss.add(files( 367ab3eb42SCho, Yu-Chen 'cpu_models_user.c', 377ab3eb42SCho, Yu-Chen)) 3833f6a7d6SCho, Yu-Chen 39c9274b6bSCho, Yu-Chensubdir('tcg') 4067043607SCho, Yu-Chensubdir('kvm') 41c9274b6bSCho, Yu-Chen 42abff1abfSPaolo Bonzinitarget_arch += {'s390x': s390x_ss} 43*01c85e60SPhilippe Mathieu-Daudétarget_system_arch += {'s390x': s390x_system_ss} 4433f6a7d6SCho, Yu-Chentarget_user_arch += {'s390x': s390x_user_ss} 45