From e1452515362c679c3439d28ba330a95a20f301a4 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 26 Mar 2010 18:10:33 -0700 Subject: build-toolchain.sh: fix the --force-build option Change-Id: Ia171eff5bc4c352b1d9c646f133c69a77ff6681a --- build/tools/build-toolchain.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/tools/build-toolchain.sh b/build/tools/build-toolchain.sh index 6afbb8890..f025c3af1 100755 --- a/build/tools/build-toolchain.sh +++ b/build/tools/build-toolchain.sh @@ -63,7 +63,7 @@ BUILD_OUT=`mktemp -d /tmp/ndk-toolchain-XXX` OPTION_HELP=no OPTION_PLATFORM= OPTION_FORCE_32=no -OPTION_REBUILD=no +OPTION_FORCE_BUILD=no OPTION_GCC_VERSION= OPTION_GDB_VERSION= OPTION_PACKAGE= @@ -492,7 +492,7 @@ if [ $OPTION_FORCE_DOWNLOAD ] ; then timestamp_force toolchain verify fi -if [ $OPTION_FORCE_BUILD ] ; then +if [ $OPTION_FORCE_BUILD = "yes" ] ; then rm -rf $ANDROID_TOOLCHAIN_BUILD timestamp_clear toolchain timestamp_clear gdbserver @@ -705,7 +705,7 @@ else fi for _toolchain in $ANDROID_TOOLCHAIN_LIST; do - if timestamp_check toolchain build; then + if [ $OPTION_FORCE_BUILD = "yes" ] ; then timestamp_force ${_toolchain} configure timestamp_force ${_toolchain}-gdbserver configure fi -- cgit v1.2.3