qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

meson.build (967B)


      1 s390x_ss = ss.source_set()
      2 s390x_ss.add(files(
      3   'cpu.c',
      4   'cpu_features.c',
      5   'cpu_models.c',
      6   'gdbstub.c',
      7   'interrupt.c',
      8   'cpu-dump.c',
      9 ))
     10 
     11 gen_features = executable('gen-features', 'gen-features.c', native: true,
     12                           build_by_default: false)
     13 
     14 gen_features_h = custom_target('gen-features.h',
     15                                output: 'gen-features.h',
     16                                capture: true,
     17                                command: gen_features)
     18 
     19 s390x_ss.add(gen_features_h)
     20 
     21 s390x_softmmu_ss = ss.source_set()
     22 s390x_softmmu_ss.add(files(
     23   'helper.c',
     24   'arch_dump.c',
     25   'diag.c',
     26   'ioinst.c',
     27   'machine.c',
     28   'mmu_helper.c',
     29   'sigp.c',
     30   'cpu-sysemu.c',
     31   'cpu_models_sysemu.c',
     32 ))
     33 
     34 s390x_user_ss = ss.source_set()
     35 s390x_user_ss.add(files(
     36   'cpu_models_user.c',
     37 ))
     38 
     39 subdir('tcg')
     40 subdir('kvm')
     41 
     42 target_arch += {'s390x': s390x_ss}
     43 target_softmmu_arch += {'s390x': s390x_softmmu_ss}
     44 target_user_arch += {'s390x': s390x_user_ss}