p≡p for Java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
467 B

  1. #!/bin/bash
  2. usage="Usage: $(basename "$0") [-h][--force] -- Script to generate android standalone toolchain to build pEp for Android.
  3. where:
  4. -h Show this help text
  5. --force Force generating the toolchain"
  6. if [ "$1" == "-h" ]; then
  7. echo "$usage"
  8. exit 0
  9. fi
  10. if [ -z "$ANDROID_NDK" ]; then
  11. echo "Please define \$ANDROID_NDK"
  12. exit 1
  13. fi
  14. $ANDROID_NDK/build/tools/make_standalone_toolchain.py $1 --arch arm --api 18 --install-dir=ndk-18-arm
  15. exit 0