Add aarch64
Andrew Hsieh [Tue, 9 Apr 2013 07:57:54 +0000 (15:57 +0800)]
Change-Id: I0575d428472c12b56e10367abb73a2b5fd794a08

config.sub
configure

index bfbf61d..833ef51 100755 (executable)
@@ -242,7 +242,7 @@ case $basic_machine in
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
        | am33_2.0 \
-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | aarch64 | avr | avr32 \
        | bfin \
        | c4x | clipper \
        | d10v | d30v | dlx | dsp16xx \
@@ -320,7 +320,7 @@ case $basic_machine in
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
-       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
+       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* | aarch64* \
        | avr-* | avr32-* \
        | bfin-* | bs2000-* \
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
index 312a48d..56bc66a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2004,6 +2004,10 @@ case $target in
   arm-newlib-elf)
     BUILD_ANDROID_GCC=no
     ;;
+  aarch64-unknown-linux-androideabi)
+    BUILD_ANDROID_GCC=yes
+    GDB_TARGET=aarch64-elf-linux
+    ;;
   i[3456]86-*-linux-gnu | x86_64-*-linux-gnu | i[3456]86-*-linux-android | x86_64-*-linux-android)
     BUILD_ANDROID_GCC=yes
     ;;