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