[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 114/147] meson: convert hw/gpio
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 114/147] meson: convert hw/gpio |
Date: |
Tue, 11 Aug 2020 18:08:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 8/10/20 7:08 PM, Paolo Bonzini wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> hw/Makefile.objs | 1 -
> hw/gpio/Makefile.objs | 12 ------------
> hw/gpio/meson.build | 12 ++++++++++++
> hw/meson.build | 1 +
> 4 files changed, 13 insertions(+), 13 deletions(-)
> delete mode 100644 hw/gpio/Makefile.objs
> create mode 100644 hw/gpio/meson.build
>
> diff --git a/hw/Makefile.objs b/hw/Makefile.objs
> index a2c2f6d..c04dfe5 100644
> --- a/hw/Makefile.objs
> +++ b/hw/Makefile.objs
> @@ -8,7 +8,6 @@ devices-dirs-y += char/
> devices-dirs-y += cpu/
> devices-dirs-y += display/
> devices-dirs-y += dma/
> -devices-dirs-y += gpio/
> endif
>
> common-obj-y += $(devices-dirs-y)
> diff --git a/hw/gpio/Makefile.objs b/hw/gpio/Makefile.objs
> deleted file mode 100644
> index 3cfc261..0000000
> --- a/hw/gpio/Makefile.objs
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -common-obj-$(CONFIG_MAX7310) += max7310.o
> -common-obj-$(CONFIG_PL061) += pl061.o
> -common-obj-$(CONFIG_PUV3) += puv3_gpio.o
> -common-obj-$(CONFIG_ZAURUS) += zaurus.o
> -common-obj-$(CONFIG_E500) += mpc8xxx.o
> -common-obj-$(CONFIG_GPIO_KEY) += gpio_key.o
> -
> -common-obj-$(CONFIG_OMAP) += omap_gpio.o
> -common-obj-$(CONFIG_IMX) += imx_gpio.o
> -common-obj-$(CONFIG_RASPI) += bcm2835_gpio.o
> -common-obj-$(CONFIG_NRF51_SOC) += nrf51_gpio.o
> -common-obj-$(CONFIG_ASPEED_SOC) += aspeed_gpio.o
> diff --git a/hw/gpio/meson.build b/hw/gpio/meson.build
> new file mode 100644
> index 0000000..6bcdfa6
> --- /dev/null
> +++ b/hw/gpio/meson.build
> @@ -0,0 +1,12 @@
> +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_MAX7310', if_true: files('max7310.c'))
> +softmmu_ss.add(when: 'CONFIG_PL061', if_true: files('pl061.c'))
> +softmmu_ss.add(when: 'CONFIG_PUV3', if_true: files('puv3_gpio.c'))
> +softmmu_ss.add(when: 'CONFIG_ZAURUS', if_true: files('zaurus.c'))
> +
> +softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_gpio.c'))
> +softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_gpio.c'))
> +softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_gpio.c'))
> +softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_gpio.c'))
> +softmmu_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_gpio.c'))
> diff --git a/hw/meson.build b/hw/meson.build
> index f9e5adf..52577c3 100644
> --- a/hw/meson.build
> +++ b/hw/meson.build
> @@ -1,4 +1,5 @@
> subdir('core')
> +subdir('gpio')
> subdir('hyperv')
> subdir('i2c')
> subdir('ide')
>
- [PATCH 103/147] meson: convert hw/rdma, (continued)
- [PATCH 103/147] meson: convert hw/rdma, Paolo Bonzini, 2020/08/10
- [PATCH 105/147] meson: convert hw/misc, Paolo Bonzini, 2020/08/10
- [PATCH 107/147] meson: convert hw/ipmi, Paolo Bonzini, 2020/08/10
- [PATCH 108/147] meson: convert hw/ipack, Paolo Bonzini, 2020/08/10
- [PATCH 109/147] meson: convert hw/intc, Paolo Bonzini, 2020/08/10
- [PATCH 110/147] meson: convert hw/input, Paolo Bonzini, 2020/08/10
- [PATCH 112/147] meson: convert hw/i2c, Paolo Bonzini, 2020/08/10
- [PATCH 111/147] meson: convert hw/ide, Paolo Bonzini, 2020/08/10
- [PATCH 113/147] meson: convert hw/hyperv, Paolo Bonzini, 2020/08/10
- [PATCH 114/147] meson: convert hw/gpio, Paolo Bonzini, 2020/08/10
- Re: [PATCH 114/147] meson: convert hw/gpio,
Philippe Mathieu-Daudé <=
- [PATCH 115/147] meson: convert hw/dma, Paolo Bonzini, 2020/08/10
- [PATCH 117/147] meson: convert hw/cpu, Paolo Bonzini, 2020/08/10
- [PATCH 118/147] meson: convert hw/char, Paolo Bonzini, 2020/08/10
- [PATCH 119/147] meson: convert hw/block, Paolo Bonzini, 2020/08/10
- [PATCH 120/147] meson: convert hw/audio, Paolo Bonzini, 2020/08/10
- [PATCH 121/147] meson: convert hw/adc, Paolo Bonzini, 2020/08/10
- [PATCH 116/147] meson: convert hw/display, Paolo Bonzini, 2020/08/10
- [PATCH 124/147] meson: convert hw/arch*, Paolo Bonzini, 2020/08/10
- [PATCH 122/147] meson: convert hw/acpi, Paolo Bonzini, 2020/08/10
- [PATCH 123/147] meson: convert hw/9pfs, cleanup, Paolo Bonzini, 2020/08/10