aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/kvm/meson.build
blob: a4a2e23c06ef295f29cb23cf22d3fbdc6873b4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
i386_kvm_ss = ss.source_set()
i386_kvm_ss.add(files('clock.c'))
i386_kvm_ss.add(when: 'CONFIG_APIC', if_true: files('apic.c'))
i386_kvm_ss.add(when: 'CONFIG_I8254', if_true: files('i8254.c'))
i386_kvm_ss.add(when: 'CONFIG_I8259', if_true: files('i8259.c'))
i386_kvm_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c'))
i386_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files(
  'xen_overlay.c',
  'xen_evtchn.c',
  'xen_gnttab.c',
  'xen_xenstore.c',
  'xen_primary_console.c',
  'xenstore_impl.c',
  ))

i386_ss.add_all(when: 'CONFIG_KVM', if_true: i386_kvm_ss)

xen_stubs_ss = ss.source_set()
xen_stubs_ss.add(when: 'CONFIG_XEN_EMU', if_false: files(
  'xen-stubs.c',
))

specific_ss.add_all(when: 'CONFIG_SYSTEM_ONLY', if_true: xen_stubs_ss)