Add support for aarch64

This commit is contained in:
Jeremy Soller 2018-11-27 09:55:43 -07:00
parent 4416fc2925
commit 757c61e2b6
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
[target.aarch64-unknown-redox]
linker = "aarch64-unknown-redox-gcc"
rustflags = []
[target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc"
rustflags = []

View File

@ -2,9 +2,12 @@
set -e
# Configuration
ARCH=x86_64
export TARGET=$ARCH-unknown-redox
HOST=$TARGET
if [ -z "${TARGET}" ]
then
export TARGET=x86_64-unknown-redox
fi
ARCH="${TARGET%%-*}"
HOST="$TARGET"
# Automatic variables
ROOT="$(cd `dirname "$0"` && pwd)"