arm-trusted-firmware/make_helpers/toolchains
Chris Kay 3d6c7e590e build: improve diagnostics for unrecognized toolchain tools
Up until recently the build system accepted an arbitrary value for `AS`
and, unbeknownst to anybody, was simply not making use of it. Recent
feedback has revealed that a number of contributors have `AS` explicitly
configured to use the GNU assembler, which is not a supported assembler,
and this breakage has yielded some cryptic error messages, e.g.:

    aarch64-none-elf-as: unrecognized option '-x'

This change introduces human-readable diagnostics to help developers
with diagnosing unsupported toolchain tools:

    The configured AArch64 assembler could not be identified and may not
    be supported:

        aarch64-none-elf-as

    The default AArch64 assembler is:

        aarch64-none-elf-gcc

    The following tools are supported:

      - Arm® Compiler for Embedded `armclang`
      - LLVM Clang (`clang`)
      - GNU GCC (`gcc`)

    The build system will treat this assembler as GNU GCC (`gcc`).

Change-Id: I316036c83be2d45ee83a88846cf65c6ce7ae3c26
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-04-29 12:47:01 +00:00
..
aarch32.mk build: improve diagnostics for unrecognized toolchain tools 2024-04-29 12:47:01 +00:00
aarch64.mk build: improve diagnostics for unrecognized toolchain tools 2024-04-29 12:47:01 +00:00
host.mk build: improve diagnostics for unrecognized toolchain tools 2024-04-29 12:47:01 +00:00
rk3399-m0.mk build: improve diagnostics for unrecognized toolchain tools 2024-04-29 12:47:01 +00:00