aboutsummaryrefslogtreecommitdiff
path: root/hw/smbios/meson.build
blob: a59039f66927dbc28df22062a6516504af18e655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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'))

smbios_ss.add(when: 'CONFIG_SMBIOS_LEGACY',
              if_true: files('smbios_legacy.c'),
              if_false: files('smbios_legacy_stub.c'))

system_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
system_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))