aboutsummaryrefslogtreecommitdiff
path: root/hw/pcmcia/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pcmcia/meson.build')
-rw-r--r--hw/pcmcia/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcmcia/meson.build b/hw/pcmcia/meson.build
index ab50bd325d..51f2512b8e 100644
--- a/hw/pcmcia/meson.build
+++ b/hw/pcmcia/meson.build
@@ -1,2 +1,2 @@
-softmmu_ss.add(files('pcmcia.c'))
+softmmu_ss.add(when: 'CONFIG_PCMCIA', if_true: files('pcmcia.c'))
softmmu_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx.c'))