xref: /openbmc/qemu/hw/cxl/meson.build (revision 7528ef73)
1system_ss.add(when: 'CONFIG_CXL',
2               if_true: files(
3                   'cxl-component-utils.c',
4                   'cxl-device-utils.c',
5                   'cxl-mailbox-utils.c',
6                   'cxl-host.c',
7                   'cxl-cdat.c',
8                   'cxl-events.c',
9                   'switch-mailbox-cci.c',
10               ),
11               if_false: files(
12                   'cxl-host-stubs.c',
13               ))
14
15system_ss.add(when: 'CONFIG_ALL', if_true: files('cxl-host-stubs.c'))
16