2023-10-04 12:06:21 +03:00
|
|
|
system_stubs_ss = ss.source_set()
|
|
|
|
system_stubs_ss.add(when: 'CONFIG_XEN', if_false: files('xen-stub.c'))
|
|
|
|
system_stubs_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
|
|
|
|
system_stubs_ss.add(when: 'CONFIG_TCG', if_false: files('tcg-stub.c'))
|
2022-02-03 20:32:36 +03:00
|
|
|
|
2023-10-04 12:06:21 +03:00
|
|
|
specific_ss.add_all(when: ['CONFIG_SYSTEM_ONLY'], if_true: system_stubs_ss)
|