summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/crossgcc/Makefile7
-rwxr-xr-xutil/xcompile/xcompile2
2 files changed, 8 insertions, 1 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 14ca1ecf7e..bd7fa2f777 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 7bb6e4c93d..45dae8c1e8 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() {