Check for presence of the sdk and ndk (the corresponding env variables to be exact) in configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28003 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cb435ab5c1
commit
d7cfd76216
1 changed files with 10 additions and 0 deletions
10
tools/configure
vendored
10
tools/configure
vendored
|
@ -95,6 +95,16 @@ app_get_platform() {
|
||||||
if [ -n "$PREFIX" ]; then
|
if [ -n "$PREFIX" ]; then
|
||||||
echo "WARNING: PREFIX not supported on Android. You can however use --rbdir"
|
echo "WARNING: PREFIX not supported on Android. You can however use --rbdir"
|
||||||
fi
|
fi
|
||||||
|
if [ -z "$ANDROID_SDK_PATH" ]; then
|
||||||
|
echo "ERROR: You need the Android SDK installed and have the ANDROID_SDK_PATH"
|
||||||
|
echo "environment variable point to the root directory of the Android SDK."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
if [ -z "$ANDROID_NDK_PATH" ]; then
|
||||||
|
echo "ERROR: You need the Android NDK installed and have the ANDROID_NDK_PATH"
|
||||||
|
echo "environment variable point to the root directory of the Android NDK."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
rbdir="/data/data/org.rockbox/app_rockbox/rockbox"
|
rbdir="/data/data/org.rockbox/app_rockbox/rockbox"
|
||||||
bindir="/data/data/org.rockbox/lib"
|
bindir="/data/data/org.rockbox/lib"
|
||||||
bindir_full=$bindir
|
bindir_full=$bindir
|
||||||
|
|
Loading…
Reference in a new issue