Skip to content

Commit

Permalink
hw/pcmcia: Do not register PCMCIA type if not required
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd authored and vivier committed May 2, 2021
1 parent 2a406e3 commit 32bec2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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'))

0 comments on commit 32bec2e

Please sign in to comment.