aboutsummaryrefslogtreecommitdiff
path: root/hw/cxl/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cxl/meson.build')
-rw-r--r--hw/cxl/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/cxl/meson.build b/hw/cxl/meson.build
new file mode 100644
index 0000000000..f117b99949
--- /dev/null
+++ b/hw/cxl/meson.build
@@ -0,0 +1,12 @@
+softmmu_ss.add(when: 'CONFIG_CXL',
+ if_true: files(
+ 'cxl-component-utils.c',
+ 'cxl-device-utils.c',
+ 'cxl-mailbox-utils.c',
+ 'cxl-host.c',
+ ),
+ if_false: files(
+ 'cxl-host-stubs.c',
+ ))
+
+softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('cxl-host-stubs.c'))