0d66549cf5
CONFIG_ALL is tricky to use and was ported over to Meson from the recursive processing of Makefile variables. Meson sourcesets however have all_sources() and all_dependencies() methods that remove the need for it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9 lines
335 B
Meson
9 lines
335 B
Meson
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'))
|
|
|
|
system_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
|
|
system_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))
|