aboutsummaryrefslogtreecommitdiff
path: root/hw/pcmcia
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-25 00:20:57 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:50 +0200
commit32bec2eea2c5ab96ba8b149cda7e33716678a5a6 (patch)
tree192dcbbf68603effd15a88044274c7488ea33ac3 /hw/pcmcia
parent2a406e38e6f0cb2070a30ea98e779ca93a04df48 (diff)
downloadqemu-32bec2eea2c5ab96ba8b149cda7e33716678a5a6.zip
qemu-32bec2eea2c5ab96ba8b149cda7e33716678a5a6.tar.gz
qemu-32bec2eea2c5ab96ba8b149cda7e33716678a5a6.tar.bz2
hw/pcmcia: Do not register PCMCIA type if not required
If the Kconfig 'PCMCIA' value is not selected, it is pointless to build the PCMCIA core components. (Currently only one machine of the ARM targets requires this). Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210424222057.3434459-4-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/pcmcia')
-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 ab50bd3..51f2512 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'))