tool_chain: add aarch64 compiler target

Ref #3260
This commit is contained in:
Stefan Kalkowski
2019-03-26 11:46:37 +01:00
committed by Christian Helmuth
parent 36f90e57f3
commit fc922d263c
4 changed files with 45 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ help:
$(ECHO) "--- available commands ---"
$(ECHO) "x86 - create tool chain for x86"
$(ECHO) "arm - create tool chain for arm"
$(ECHO) "aarch64 - create tool chain for aarch64/arm64"
$(ECHO) "riscv - create tool chain for riscv"
$(ECHO) "clean - clean everything except downloaded archives"
$(ECHO) "cleanall - clean everything including downloaded archives"
@@ -30,7 +31,7 @@ help:
# User interface
#
SUPPORTED_PLATFORMS := x86 arm riscv
SUPPORTED_PLATFORMS := x86 arm riscv aarch64
PLATFORM := $(firstword $(filter $(SUPPORTED_PLATFORMS),$(MAKECMDGOALS)))
@@ -193,6 +194,7 @@ LOCAL_LIB_INSTALL_LOCATION = $(BUILD_LOCATION)/lib-install
TARGET_NAME_x86 = x86_64-pc-elf
TARGET_NAME_arm = arm-none-eabi
TARGET_NAME_riscv = riscv64-unknown-elf
TARGET_NAME_aarch64 = aarch64-none-elf
GCC_CONFIG_riscv = --with-arch=rv64imac --with-abi=lp64