OPTION_PACKAGE=no
-BUILD_OUT=`mktemp -d /tmp/ndk-toolchain-XXX`
+BUILD_OUT=`random_temp_directory`
OPTION_BUILD_OUT=
OPTION_FROM=
JOBS=$HOST_NUM_CPUS
RELEASE=`date +%Y%m%d`
-BUILD_OUT=`mktemp -d /tmp/ndk-toolchain-XXX`
+BUILD_OUT=`random_temp_directory`
PLATFORM=android-3
GDB_VERSION=6.6
BINUTILS_VERSION=2.19
NOTE: The --platform option is ignored if --sysroot is used."
RELEASE=`date +%Y%m%d`
-BUILD_OUT=`mktemp -d /tmp/ndk-toolchain-XXX`
+BUILD_OUT=`random_temp_directory`
PLATFORM=android-3
VERBOSE=no
JOBS=$HOST_NUM_CPUS
set_toolchain_install $TOOLCHAIN_PATH
}
+
+random_temp_directory ()
+{
+ mktemp -d /tmp/ndk-toolchain-XXXXXX
+}
register_option "--ndk-dir=<path>" do_ndk_dir "Specify target NDK directory" "$NDK_DIR"
do_ndk_dir () { OPTION_NDK_DIR=$1; }
-BUILD_DIR=`mktemp -d /tmp/ndk-prebuilt-XXX`
+BUILD_DIR=`random_temp_directory`
OPTION_BUILD_DIR=
register_option "--build-dir=<path>" do_build_dir "Specify temporary build directory" "/tmp/<random>"
do_build_dir () { OPTION_BUILD_DIR=$1; }
Android NDK ChangeLog:
-------------------------------------------------------------------------------
+android-ndk-r4b
+
+This release fixes a few bugs in r4 scripts. There are no new features.
+
+OTHER FIXES & CHANGES:
+
+- build/tools/rebuild-all-prebuilt.sh: mktemp expects 'XXXXXX' instead of 'XXX'.
+ Fix the script (and others in the same directory) to do that properly.
+
+
+-------------------------------------------------------------------------------
android-ndk-r4
IMPORTANT BUG FIXES: