From d68b48725d720a06b24932b170f528929856f3db Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 24 Jul 2009 16:33:05 +0200 Subject: Fix ANDROID_SDK_HOME handling on Unix (the env. var was ignored) Bump version number to 1.11 in android/android.h Update CHANGES.TXT to reflect SDK 1.5_r3 changes Update some comments in android/boot-properties.[hc] Add a --debug option to android-configure.sh (and android-rebuild.sh) to build a unoptimized debug version of the standalone emulator binary. --- android-configure.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'android-configure.sh') diff --git a/android-configure.sh b/android-configure.sh index 7a94ec2..59ec9b4 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -27,6 +27,7 @@ OPTION_IGNORE_AUDIO=no OPTION_NO_PREBUILTS=no OPTION_TRY_64=no OPTION_HELP=no +OPTION_DEBUG=no if [ -z "$CC" ] ; then CC=gcc @@ -44,6 +45,8 @@ for opt do VERBOSE=yes fi ;; + --debug) OPTION_DEBUG=yes + ;; --install=*) OPTION_TARGETS="$OPTION_TARGETS $optarg"; ;; --sdl-config=*) SDL_CONFIG=$optarg @@ -85,6 +88,7 @@ EOF echo " --no-prebuilts do not use prebuilt libraries and compiler" echo " --try-64 try to build a 64-bit executable (may crash)" echo " --verbose verbose configuration" + echo " --debug build debug version of the emulator" echo "" exit 1 fi @@ -370,7 +374,9 @@ echo "CONFIG_ESD := $PROBE_ESD" >> $config_mk echo "CONFIG_ALSA := $PROBE_ALSA" >> $config_mk echo "CONFIG_OSS := $PROBE_OSS" >> $config_mk echo "BUILD_STANDALONE_EMULATOR := true" >> $config_mk - +if [ $OPTION_DEBUG = yes ] ; then + echo "BUILD_DEBUG_EMULATOR := true" >> $config_mk +fi # Build the config-host.h file # -- cgit v1.1