mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-03 01:06:13 +00:00

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>
31 lines
966 B
Makefile
31 lines
966 B
Makefile
#
|
|
# Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
rk3399-m0-name := RK3399 M0
|
|
|
|
rk3399-m0-cc-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)gcc
|
|
rk3399-m0-cc-id-default := gnu-gcc
|
|
|
|
rk3399-m0-cpp-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)gcc
|
|
rk3399-m0-cpp-id-default := gnu-gcc
|
|
|
|
rk3399-m0-as-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)gcc
|
|
rk3399-m0-as-id-default := gnu-gcc
|
|
|
|
rk3399-m0-ld-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)gcc
|
|
rk3399-m0-ld-id-default := gnu-gcc
|
|
|
|
rk3399-m0-oc-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)objcopy
|
|
rk3399-m0-oc-id-default := gnu-objcopy
|
|
|
|
rk3399-m0-od-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)objdump
|
|
rk3399-m0-od-id-default := gnu-objdump
|
|
|
|
rk3399-m0-ar-default := $(or $(M0_CROSS_COMPILE),arm-none-eabi-)gcc-ar
|
|
rk3399-m0-ar-id-default := gnu-ar
|
|
|
|
rk3399-m0-dtc-default := dtc
|
|
rk3399-m0-dtc-id-default := generic-dtc
|