xref: /qemu/hw/smbios/meson.build (revision de6cd759)
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
7system_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
8system_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))
9
10system_ss.add(when: 'CONFIG_ALL', if_true: files(
11  'smbios-stub.c',
12  'smbios_type_38-stub.c',
13))
14