2c44220d05
Each architecture's sourceset is placed in an hw_arch dictionary, and picked up from there when building the per-emulator static_library. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9 lines
383 B
Meson
9 lines
383 B
Meson
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_ss.add_all(when: 'CONFIG_KVM', if_true: i386_kvm_ss)
|