diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-11-19 18:36:37 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-20 13:54:59 +0100 |
commit | 3bff5d906423fa4ac3bc3877f0f82dfa8426e86f (patch) | |
tree | de2480cda12b1e0cd4653f61d026aae35cf55531 /util | |
parent | d730ca8529ecb89ae3a01fd582b46a44bd4d6078 (diff) | |
download | coreboot-3bff5d906423fa4ac3bc3877f0f82dfa8426e86f.tar.gz coreboot-3bff5d906423fa4ac3bc3877f0f82dfa8426e86f.tar.bz2 coreboot-3bff5d906423fa4ac3bc3877f0f82dfa8426e86f.zip |
crossgcc: Add buildsystem support for aarch64 compiler
This adds the crosstools-aarch64 and crossgcc-aarch64
make rules to create a toolchain (with or without gdb)
for AArch64 targets.
Also adapt xcompile, since it's aarch64-elf.
Change-Id: I6fbe09d44ee8b8493d3cd8dbbba869b409e311f7
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/7527
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/crossgcc/Makefile | 7 | ||||
-rwxr-xr-x | util/xcompile/xcompile | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile index 14ca1ecf7ea0..bd7fa2f77792 100644 --- a/util/crossgcc/Makefile +++ b/util/crossgcc/Makefile @@ -6,6 +6,9 @@ build-i386: build-armv7a: bash ./buildgcc -G -p armv7a-eabi +build-aarch64: + bash ./buildgcc -G -p aarch64-elf + .PHONY: build-i386-without-gdb build-i386-without-gdb: bash ./buildgcc -p i386-elf @@ -14,6 +17,10 @@ build-i386-without-gdb: build-armv7a-without-gdb: bash ./buildgcc -p armv7a-eabi +.PHONY: build-aarch64-without-gdb +build-aarch64-without-gdb: + bash ./buildgcc -p aarch64-elf + clean: rm -rf xgcc diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 7bb6e4c93d37..45dae8c1e8cf 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -184,7 +184,7 @@ arch_config_aarch64() { TBFDARCH="littleaarch64" TCLIST="aarch64" TWIDTH="64" - TABI="eabi" + TABI="elf" } arch_config_riscv() { |