Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / hw / smbios / meson.build
bloba59039f66927dbc28df22062a6516504af18e655
1 smbios_ss = ss.source_set()
2 smbios_ss.add(files('smbios.c'))
3 smbios_ss.add(when: 'CONFIG_IPMI',
4               if_true: files('smbios_type_38.c'),
5               if_false: files('smbios_type_38-stub.c'))
7 smbios_ss.add(when: 'CONFIG_SMBIOS_LEGACY',
8               if_true: files('smbios_legacy.c'),
9               if_false: files('smbios_legacy_stub.c'))
11 system_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
12 system_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))