xref: /openbmc/qemu/hw/smbios/meson.build (revision d2dfe0b5)
1smbios_ss = ss.source_set()
2smbios_ss.add(files('smbios.c'))
3smbios_ss.add(when: 'CONFIG_IPMI',
4              if_true: files('smbios_type_38.c'),
5              if_false: files('smbios_type_38-stub.c'))
6
7softmmu_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
8softmmu_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))
9
10softmmu_ss.add(when: 'CONFIG_ALL', if_true: files(
11  'smbios-stub.c',
12  'smbios_type_38-stub.c',
13))
14