commit:     5c449e3567541b3cc1a02ac28e87d3e8084a8d68
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 11:57:14 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 11:58:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=5c449e35

bootstrap-prefix.sh: support bootstraping for aarch64.

 scripts/bootstrap-prefix.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 1059b15c68..06227ad812 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -370,6 +370,9 @@ bootstrap_setup() {
                powerpc64-unknown-linux-gnu)
                        profile="prefix/${linux}/ppc64${legacy}"
                        ;;
+               aarch64-unknown-linux-gnu)
+                       profile="prefix/${linux}/arm64${legacy}"
+                       ;;
                armv7l-pc-linux-gnu)
                        profile="prefix/${linux}/arm${legacy}"
                        ;;
@@ -2555,7 +2558,7 @@ if [[ -z ${CHOST} ]]; then
                                        ppc*)
                                                CHOST="`uname -m | sed -e 
's/^ppc/powerpc/'`-unknown-linux-gnu"
                                                ;;
-                                       powerpc*)
+                                       powerpc*|aarch64*)
                                                CHOST="`uname 
-m`-unknown-linux-gnu"
                                                ;;
                                        *)

Reply via email to