diff --git a/envsetup.sh b/envsetup.sh index 3ec6cce69..26db504fc 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -136,6 +136,8 @@ function setpaths() ;; mips) toolchaindir=mips/mipsel-linux-android-$targetgccversion/bin ;; + mips64) toolchaindir=mips/mipsel-linux-android-$targetgccversion/bin + ;; *) echo "Can't find toolchain for unknown architecture: $ARCH" toolchaindir=xxxxxxxxx @@ -433,10 +435,10 @@ function add_lunch_combo() # add the default one here add_lunch_combo aosp_arm-eng -add_lunch_combo aosp_x86-eng -add_lunch_combo aosp_mips-eng -add_lunch_combo aosp_x86_64-eng add_lunch_combo aosp_arm64-eng +add_lunch_combo aosp_mips-eng +add_lunch_combo aosp_x86-eng +add_lunch_combo aosp_x86_64-eng add_lunch_combo vbox_x86-eng function print_lunch_menu() @@ -929,9 +931,12 @@ function gdbclient() local ARCH=$(get_build_var TARGET_ARCH) local GDB case "$ARCH" in - x86) GDB=x86_64-linux-android-gdb;; arm) GDB=arm-linux-androideabi-gdb;; + arm64) GDB=aarch64-linux-android-gdb;; mips) GDB=mipsel-linux-android-gdb;; + mips64) GDB=mipsel-linux-android-gdb;; + x86) GDB=x86_64-linux-android-gdb;; + x86_64) GDB=x86_64-linux-android-gdb;; *) echo "Unknown arch $ARCH"; return 1;; esac