]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm/tcg: Don't build AArch64 decodetree files for qemu-system-arm
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 18 Jul 2023 10:46:28 +0000 (11:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 31 Jul 2023 10:41:21 +0000 (11:41 +0100)
commit71054f72f14e7a62b6e623997404259d52ea43fb
tree47cc92123447bb4b7866123caec17f5064567cee
parent2b0d656ab6484cae7f174e194215a6d50343ecd2
target/arm/tcg: Don't build AArch64 decodetree files for qemu-system-arm

Currently we list all the Arm decodetree files together and add them
unconditionally to arm_ss.  This means we build them for both
qemu-system-aarch64 and qemu-system-arm.  However, some of them are
AArch64-specific, so there is no need to build them for
qemu-system-arm.  (Meson is smart enough to notice that the generated
.c.inc file is not used by any objects that go into qemu-system-arm,
so we only unnecessarily run decodetree, not anything more
heavyweight like a recompile or relink, but it's still unnecessary
work.)

Split gen into gen_a32 and gen_a64, and only add gen_a64 for
TARGET_AARCH64 compiles.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230718104628.1137734-1-peter.maydell@linaro.org
target/arm/tcg/meson.build