diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-07-30 11:59:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-08-26 17:02:00 +0100 |
commit | cb2c553152d3c78eb08b1393ae074acdfd43eda9 (patch) | |
tree | 3800e13732237473690f8c1a31775d655341cefd /util | |
parent | ed5d8c9d1c38d4022294741eb759d42bd7690948 (diff) | |
download | qemu-cb2c553152d3c78eb08b1393ae074acdfd43eda9.zip qemu-cb2c553152d3c78eb08b1393ae074acdfd43eda9.tar.gz qemu-cb2c553152d3c78eb08b1393ae074acdfd43eda9.tar.bz2 |
meson.build: Define QEMU_ARCH in config-target.h
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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210730105947.28215-5-peter.maydell@linaro.org
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions