qemu/configs/targets
Richard Henderson 537600df61 configure: Define TARGET_LONG_BITS in configs/targets/*.mak
Define TARGET_LONG_BITS in each target's configure fragment.
Do this without removing the define in target/*/cpu-param.h
so that errors are caught like so:

In file included from .../src/include/exec/cpu-defs.h:26,
                 from ../src/target/hppa/cpu.h:24,
                 from ../src/linux-user/qemu.h:4,
                 from ../src/linux-user/hppa/cpu_loop.c:21:
../src/target/hppa/cpu-param.h:11: error: "TARGET_LONG_BITS" redefined [-Werror]
   11 | #define TARGET_LONG_BITS              64
      |
In file included from .../src/include/qemu/osdep.h:36,
                 from ../src/linux-user/hppa/cpu_loop.c:20:
./hppa-linux-user-config-target.h:32: note: this is the location of the previous definition
   32 | #define TARGET_LONG_BITS 32
      |
cc1: all warnings being treated as errors

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-02-08 12:41:33 -08:00
..
aarch64_be-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
aarch64-bsd-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
aarch64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
aarch64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
alpha-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
alpha-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
arm-bsd-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
arm-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
arm-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
armeb-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
avr-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
hexagon-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
hppa-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
hppa-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
i386-bsd-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
i386-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
i386-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
loongarch64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
loongarch64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
m68k-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
m68k-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
microblaze-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
microblaze-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
microblazeel-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
microblazeel-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mips64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mips64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mips64el-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mips64el-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mips-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mips-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mipsel-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mipsel-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mipsn32-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
mipsn32el-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
or1k-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
or1k-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
ppc64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
ppc64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
ppc64le-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
ppc-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
ppc-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
riscv32-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
riscv32-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
riscv64-bsd-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
riscv64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
riscv64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
rx-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
s390x-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
s390x-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sh4-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sh4-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sh4eb-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sh4eb-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sparc32plus-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sparc64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sparc64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sparc-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
sparc-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
tricore-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
x86_64-bsd-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
x86_64-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
x86_64-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
xtensa-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
xtensa-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
xtensaeb-linux-user.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00
xtensaeb-softmmu.mak configure: Define TARGET_LONG_BITS in configs/targets/*.mak 2025-02-08 12:41:33 -08:00