aboutsummaryrefslogtreecommitdiff
path: root/hw/gpio/meson.build
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2022-10-03 22:31:31 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-10-17 16:15:09 -0300
commit2c860abfb6c097ba8cf22316ff9957485d0ff4ad (patch)
treecc4293daf85c46c773d0043d6d3e4775b3035ac7 /hw/gpio/meson.build
parent8cf7b3277d705976a6c9dce90b481824cf8f10ff (diff)
downloadqemu-2c860abfb6c097ba8cf22316ff9957485d0ff4ad.zip
qemu-2c860abfb6c097ba8cf22316ff9957485d0ff4ad.tar.gz
qemu-2c860abfb6c097ba8cf22316ff9957485d0ff4ad.tar.bz2
hw/gpio/meson: Introduce dedicated config switch for hw/gpio/mpc8xxx
Having a dedicated config switch makes dependency handling cleaner. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20221003203142.24355-3-shentey@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/gpio/meson.build')
-rw-r--r--hw/gpio/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/gpio/meson.build b/hw/gpio/meson.build
index 7bd6a57..b726e6d 100644
--- a/hw/gpio/meson.build
+++ b/hw/gpio/meson.build
@@ -1,5 +1,5 @@
-softmmu_ss.add(when: 'CONFIG_E500', if_true: files('mpc8xxx.c'))
softmmu_ss.add(when: 'CONFIG_GPIO_KEY', if_true: files('gpio_key.c'))
+softmmu_ss.add(when: 'CONFIG_GPIO_MPC8XXX', if_true: files('mpc8xxx.c'))
softmmu_ss.add(when: 'CONFIG_GPIO_PWR', if_true: files('gpio_pwr.c'))
softmmu_ss.add(when: 'CONFIG_MAX7310', if_true: files('max7310.c'))
softmmu_ss.add(when: 'CONFIG_PL061', if_true: files('pl061.c'))