1.1 --- a/scripts/crosstool.sh Mon Apr 28 07:38:36 2008 +0000
1.2 +++ b/scripts/crosstool.sh Sun May 11 07:01:28 2008 +0000
1.3 @@ -73,6 +73,8 @@
1.4 # Now, build up the variables from the user-configured options.
1.5 CT_KERNEL_FILE="${CT_KERNEL}-${CT_KERNEL_VERSION}"
1.6 CT_BINUTILS_FILE="binutils-${CT_BINUTILS_VERSION}"
1.7 +CT_GMP_FILE="gmp-${CT_GMP_VERSION}"
1.8 +CT_MPFR_FILE="mpfr-${CT_MPFR_VERSION}"
1.9 CT_CC_FILE="${CT_CC}-${CT_CC_VERSION}"
1.10 CT_LIBC_FILE="${CT_LIBC}-${CT_LIBC_VERSION}"
1.11
1.12 @@ -417,6 +419,8 @@
1.13 # Include sub-scripts instead of calling them: that way, we do not have to
1.14 # export any variable, nor re-parse the configuration and functions files.
1.15 . "${CT_LIB_DIR}/scripts/build/kernel_${CT_KERNEL}.sh"
1.16 +. "${CT_LIB_DIR}/scripts/build/gmp.sh"
1.17 +. "${CT_LIB_DIR}/scripts/build/mpfr.sh"
1.18 . "${CT_LIB_DIR}/scripts/build/binutils.sh"
1.19 . "${CT_LIB_DIR}/scripts/build/libc_${CT_LIBC}.sh"
1.20 . "${CT_LIB_DIR}/scripts/build/cc_${CT_CC}.sh"
1.21 @@ -426,6 +430,8 @@
1.22 if [ -z "${CT_RESTART}" ]; then
1.23 CT_DoStep INFO "Retrieving needed toolchain components' tarballs"
1.24 do_kernel_get
1.25 + do_gmp_get
1.26 + do_mpfr_get
1.27 do_binutils_get
1.28 do_cc_get
1.29 do_libc_get
1.30 @@ -440,6 +446,8 @@
1.31 fi
1.32 CT_DoStep INFO "Extracting and patching toolchain components"
1.33 do_kernel_extract
1.34 + do_gmp_extract
1.35 + do_mpfr_extract
1.36 do_binutils_extract
1.37 do_cc_extract
1.38 do_libc_extract
1.39 @@ -455,7 +463,7 @@
1.40 do_stop=0
1.41 prev_step=
1.42 [ -n "${CT_RESTART}" ] && do_it=0 || do_it=1
1.43 - # CT_STEPS comes from steps.mk!
1.44 + # Aha! CT_STEPS comes from steps.mk!
1.45 for step in ${CT_STEPS}; do
1.46 if [ ${do_it} -eq 0 ]; then
1.47 if [ "${CT_RESTART}" = "${step}" ]; then