Detect 'aarch64-elf-' toolchain

Already registered for RISC-V so makes sense to do the same for
ARM.

Signed-off-by: Ivan-Velickovic <i.velickovic@unsw.edu.au>
This commit is contained in:
Ivan-Velickovic 2025-05-21 15:33:20 +10:00 committed by Gerwin Klein
parent 5e6f7c2bda
commit b7d67a9389
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@ if("${CROSS_COMPILER_PREFIX}" STREQUAL "")
"aarch64-unknown-linux-gnu-"
"aarch64-none-linux-gnu-"
"aarch64-none-elf-"
"aarch64-elf-"
)
elseif(${arch} STREQUAL "riscv")
FindPrefixedGCC(
@ -100,6 +101,7 @@ if("${CROSS_COMPILER_PREFIX}" STREQUAL "")
"aarch64-unknown-linux-gnu-"
"aarch64-none-linux-gnu-"
"aarch64-none-elf-"
"aarch64-elf-"
)
elseif(RISCV32 OR RISCV64)
FindPrefixedGCC(