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.mayd...@linaro.org> > --- > meson.build | 2 ++ > softmmu/arch_init.c | 41 ----------------------------------------- > 2 files changed, 2 insertions(+), 41 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>