Fix Mips64 build and --cross option handling.

The Mips64 cross-toolchain is now located under:

  prebuilts/gcc/$SYSTEM/mips/mips64el-linux-android-4.9

So fix the script to pick it from here.

Also, when using --cross=<binprefix>, the option would not
work due to a missing assignment (this is useful when trying
to rebuilt the 2.6.29 kernel with this script, which requires
checking out an old 4.6 cross-toolchain and using --cross to
use it).

Change-Id: Ia98808ac3e95a77c750380d55e76158fbdda4a95
1 file changed
tree: f45133d567ef297476392ad5f24d1f9fb6122bb8
  1. arm/
  2. arm64/
  3. build-kernel.sh
  4. kernel-toolchain/
  5. mips/
  6. mips64/
  7. x86/
  8. x86_64/