diff options
author | David 'Digit' Turner <digit@google.com> | 2009-07-24 16:33:05 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2009-07-24 16:33:05 +0200 |
commit | d68b48725d720a06b24932b170f528929856f3db (patch) | |
tree | 586ee05802b45313ba5b720480eae1dd33b8a479 /android-configure.sh | |
parent | 0b7cd6c0d6af071951a86810d2600d155fa53b05 (diff) | |
download | external_qemu-d68b48725d720a06b24932b170f528929856f3db.zip external_qemu-d68b48725d720a06b24932b170f528929856f3db.tar.gz external_qemu-d68b48725d720a06b24932b170f528929856f3db.tar.bz2 |
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.
Diffstat (limited to 'android-configure.sh')
-rwxr-xr-x | android-configure.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 # |