···9595 if [ -n "$PREFIX" ]; then
9696 echo "WARNING: PREFIX not supported on Android. You can however use --rbdir"
9797 fi
9898+ if [ -z "$ANDROID_SDK_PATH" ]; then
9999+ echo "ERROR: You need the Android SDK installed and have the ANDROID_SDK_PATH"
100100+ echo "environment variable point to the root directory of the Android SDK."
101101+ exit
102102+ fi
103103+ if [ -z "$ANDROID_NDK_PATH" ]; then
104104+ echo "ERROR: You need the Android NDK installed and have the ANDROID_NDK_PATH"
105105+ echo "environment variable point to the root directory of the Android NDK."
106106+ exit
107107+ fi
98108 rbdir="/data/data/org.rockbox/app_rockbox/rockbox"
99109 bindir="/data/data/org.rockbox/lib"
100110 bindir_full=$bindir