qemu/hw/smbios/meson.build
Marc-André Lureau d6c9b1f003 meson: convert hw/smbios
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-21 06:30:25 -04:00

14 lines
438 B
Meson

smbios_ss = ss.source_set()
smbios_ss.add(files('smbios.c'))
smbios_ss.add(when: 'CONFIG_IPMI',
if_true: files('smbios_type_38.c'),
if_false: files('smbios_type_38-stub.c'))
softmmu_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
softmmu_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))
softmmu_ss.add(when: 'CONFIG_ALL', if_true: files(
'smbios-stub.c',
'smbios_type_38-stub.c',
))