diff options
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 # |