diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-09-06 11:30:24 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-09-06 11:30:24 +0000 |
commit | d7cfd7621682115aaa4112e14068fed94f71a554 (patch) | |
tree | d821dbff01dee24b1214c6121b06a6cf41255d96 | |
parent | cb435ab5c1ffc5ab0ad2c14f41cb67bf4d8b6a66 (diff) | |
download | rockbox-d7cfd7621682115aaa4112e14068fed94f71a554.tar.gz rockbox-d7cfd7621682115aaa4112e14068fed94f71a554.zip |
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
-rwxr-xr-x | tools/configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 1742e28789..5d6d63ac88 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -95,6 +95,16 @@ app_get_platform() { | |||
95 | if [ -n "$PREFIX" ]; then | 95 | if [ -n "$PREFIX" ]; then |
96 | echo "WARNING: PREFIX not supported on Android. You can however use --rbdir" | 96 | echo "WARNING: PREFIX not supported on Android. You can however use --rbdir" |
97 | fi | 97 | fi |
98 | if [ -z "$ANDROID_SDK_PATH" ]; then | ||
99 | echo "ERROR: You need the Android SDK installed and have the ANDROID_SDK_PATH" | ||
100 | echo "environment variable point to the root directory of the Android SDK." | ||
101 | exit | ||
102 | fi | ||
103 | if [ -z "$ANDROID_NDK_PATH" ]; then | ||
104 | echo "ERROR: You need the Android NDK installed and have the ANDROID_NDK_PATH" | ||
105 | echo "environment variable point to the root directory of the Android NDK." | ||
106 | exit | ||
107 | fi | ||
98 | rbdir="/data/data/org.rockbox/app_rockbox/rockbox" | 108 | rbdir="/data/data/org.rockbox/app_rockbox/rockbox" |
99 | bindir="/data/data/org.rockbox/lib" | 109 | bindir="/data/data/org.rockbox/lib" |
100 | bindir_full=$bindir | 110 | bindir_full=$bindir |