1 diff --git a/linux-x86/toolchain/i686-android-linux-4.4.3/build-toolchain.sh b/linux-x86/toolchain/i686-android-linux-4.4.3/build-toolchain.sh
2 index e61172a..98918e0 100755
3 --- a/linux-x86/toolchain/i686-android-linux-4.4.3/build-toolchain.sh
4 +++ b/linux-x86/toolchain/i686-android-linux-4.4.3/build-toolchain.sh
5 @@ -126,24 +126,11 @@ download_toolchain_sources ()
6 # because it removes all .info files, which breaks the ToT source
7 # build as of 2011-03-03
9 + # ==> seems to work fine (2012-01-28), so do use the correct script
11 echo "Download toolchain patches to: $TOOLCHAIN_SRC_DIR"
12 - GIT_PREFIX=git://android.git.kernel.org/toolchain
13 - for PROJECT in build binutils gcc gdb mpfr gmp gold; do
14 - PROJECT_DIR="$TOOLCHAIN_SRC_DIR/$PROJECT"
15 - PROJECT_GIT="$GIT_PREFIX/$PROJECT.git"
16 - echo "$PROJECT: Cleaning"
18 - echo "$PROJECT: Downloading sources from: $PROJECT_GIT"
19 - (git clone $PROJECT_GIT $PROJECT_DIR) > /dev/null 2>&1
20 - fail_panic "$PROJECT: Could not git clone!!"
21 - if [ -n "$GIT_DATE" ] ; then
22 - echo "$PROJECT: Switching to sources for date '$GIT_DATE'"
24 - REVISION=`git rev-list -n 1 --until="$GIT_DATE" HEAD` &&
25 - run git checkout $REVISION) > /dev/null 2>&1
26 - fail_panic "$PROJECT: Could not checkout?"
30 + ndk/build/tools/download-toolchain-sources.sh "$TOOLCHAIN_SRC_DIR"
31 fail_panic "Could not download toolchain sources!"