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

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

softmmu_ss.add(when: 'CONFIG_ALL', if_true: files(
  'smbios-stub.c',
  'smbios_type_38-stub.c',
))