arch: arm64: Support zephyr toolchain
ARM64 is a valid target for the zephyr toolchain. Add support for it. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
a61290e1a3
commit
54acb7baf4
3 changed files with 7 additions and 2 deletions
|
@ -4,6 +4,7 @@ type: qemu
|
|||
simulation: qemu
|
||||
arch: arm
|
||||
toolchain:
|
||||
- zephyr
|
||||
- cross-compile
|
||||
ram: 128
|
||||
testing:
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
config TOOLCHAIN_ZEPHYR_0_11
|
||||
def_bool y
|
||||
select HAS_NEWLIB_LIBC_NANO if (ARC || ARM || RISCV)
|
||||
select HAS_NEWLIB_LIBC_NANO if (ARC || (ARM && !ARM64) || RISCV)
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set(CROSS_COMPILE_TARGET_arm arm-zephyr-eabi)
|
||||
if(CONFIG_ARM64)
|
||||
set(CROSS_COMPILE_TARGET_arm aarch64-zephyr-elf)
|
||||
else()
|
||||
set(CROSS_COMPILE_TARGET_arm arm-zephyr-eabi)
|
||||
endif()
|
||||
set(CROSS_COMPILE_TARGET_nios2 nios2-zephyr-elf)
|
||||
set(CROSS_COMPILE_TARGET_riscv riscv64-zephyr-elf)
|
||||
set(CROSS_COMPILE_TARGET_mips mipsel-zephyr-elf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue