2019-08-15 13:39:54 +02:00
|
|
|
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'))
|
|
|
|
|
2023-06-13 15:33:47 +02:00
|
|
|
system_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss)
|
|
|
|
system_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c'))
|
2019-08-15 13:39:54 +02:00
|
|
|
|
2023-06-13 15:33:47 +02:00
|
|
|
system_ss.add(when: 'CONFIG_ALL', if_true: files(
|
2019-08-15 13:39:54 +02:00
|
|
|
'smbios-stub.c',
|
|
|
|
'smbios_type_38-stub.c',
|
|
|
|
))
|