On Wed, Dec 24, 2025 at 6:04 PM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
>
> The qemu-system-avr binary is buildable without a single use
> of the legacy "native endian" API. Unset the transitional
> TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid
> further uses of the legacy API.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
> configs/targets/avr-softmmu.mak | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/targets/avr-softmmu.mak b/configs/targets/avr-softmmu.mak
> index baf20fb7f2f..154f58448ae 100644
> --- a/configs/targets/avr-softmmu.mak
> +++ b/configs/targets/avr-softmmu.mak
> @@ -2,3 +2,4 @@ TARGET_ARCH=avr
> TARGET_XML_FILES= gdb-xml/avr-cpu.xml
> TARGET_LONG_BITS=32
> TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y
> +TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
> --
> 2.52.0
>