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