[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 4/8] meson.build: Define QEMU_ARCH in config-target.h
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH for-6.2 4/8] meson.build: Define QEMU_ARCH in config-target.h |
Date: |
Fri, 30 Jul 2021 15:19:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/30/21 12:59 PM, Peter Maydell wrote:
> Instead of using an ifdef ladder in arch_init.c (which we then have
> to manually update every time we add or remove a target
> architecture), have meson.build put "#define QEMU_ARCH QEMU_ARCH_FOO"
> in the config-target.h file.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> meson.build | 2 ++
> softmmu/arch_init.c | 41 -----------------------------------------
> 2 files changed, 2 insertions(+), 41 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- Re: [PATCH for-6.2 1/8] softmmu: Use accel_find("xen") instead of xen_available(), (continued)
- [PATCH for-6.2 3/8] softmmu/arch_init.c: Trim down include list, Peter Maydell, 2021/07/30
- [PATCH for-6.2 2/8] monitor: Use accel_find("kvm") instead of kvm_available(), Peter Maydell, 2021/07/30
- [PATCH for-6.2 5/8] arch_init.h: Add QEMU_ARCH_HEXAGON, Peter Maydell, 2021/07/30
- [PATCH for-6.2 4/8] meson.build: Define QEMU_ARCH in config-target.h, Peter Maydell, 2021/07/30
- [PATCH for-6.2 6/8] arch_init.h: Move QEMU_ARCH_VIRTIO_* to qdev-monitor.c, Peter Maydell, 2021/07/30
- [PATCH for-6.2 7/8] arch_init.h: Don't include arch_init.h unnecessarily, Peter Maydell, 2021/07/30
- [PATCH for-6.2 8/8] stubs: Remove unused arch_type.c stub, Peter Maydell, 2021/07/30