Get rid of CT_BINUTILS_FILE.

/trunk/scripts/build/binutils.sh |   56    28    28     0 +++++++++++++++++++++++-----------------------
 /trunk/scripts/crosstool.sh      |    1     0     1     0 -
 2 files changed, 28 insertions(+), 29 deletions(-)
This commit is contained in:
Yann E. MORIN" 2009-01-04 14:21:00 +00:00
parent 26e96f3ec5
commit 4a06d29717
2 changed files with 28 additions and 29 deletions

View File

@ -4,14 +4,14 @@
# Download binutils # Download binutils
do_binutils_get() { do_binutils_get() {
CT_GetFile "${CT_BINUTILS_FILE}" \ CT_GetFile "binutils-${CT_BINUTILS_VERSION}" \
{ftp,http}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils \ {ftp,http}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils \
ftp://gcc.gnu.org/pub/binutils/{releases,snapshots} ftp://gcc.gnu.org/pub/binutils/{releases,snapshots}
} }
# Extract binutils # Extract binutils
do_binutils_extract() { do_binutils_extract() {
CT_ExtractAndPatch "${CT_BINUTILS_FILE}" CT_ExtractAndPatch "binutils-${CT_BINUTILS_VERSION}"
} }
# Build binutils # Build binutils
@ -31,7 +31,7 @@ do_binutils() {
CT_DoLog EXTRA "Configuring binutils" CT_DoLog EXTRA "Configuring binutils"
CFLAGS="${CT_CFLAGS_FOR_HOST}" \ CFLAGS="${CT_CFLAGS_FOR_HOST}" \
CT_DoExecLog ALL \ CT_DoExecLog ALL \
"${CT_SRC_DIR}/${CT_BINUTILS_FILE}/configure" \ "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
--build=${CT_BUILD} \ --build=${CT_BUILD} \
--host=${CT_HOST} \ --host=${CT_HOST} \
--target=${CT_TARGET} \ --target=${CT_TARGET} \
@ -87,7 +87,7 @@ do_binutils_target() {
CT_DoLog EXTRA "Configuring binutils for target" CT_DoLog EXTRA "Configuring binutils for target"
CT_DoExecLog ALL \ CT_DoExecLog ALL \
"${CT_SRC_DIR}/${CT_BINUTILS_FILE}/configure" \ "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
--build=${CT_BUILD} \ --build=${CT_BUILD} \
--host=${CT_TARGET} \ --host=${CT_TARGET} \
--target=${CT_TARGET} \ --target=${CT_TARGET} \

View File

@ -85,7 +85,6 @@ CT_CC_CORE_EXTRA_CONFIG="${CT_ARCH_CC_CORE_EXTRA_CONFIG} ${CT_CC_CORE_EXTRA_CONF
CT_CC_EXTRA_CONFIG="${CT_ARCH_CC_EXTRA_CONFIG} ${CT_CC_EXTRA_CONFIG}" CT_CC_EXTRA_CONFIG="${CT_ARCH_CC_EXTRA_CONFIG} ${CT_CC_EXTRA_CONFIG}"
# Now, build up the variables from the user-configured options. # Now, build up the variables from the user-configured options.
CT_BINUTILS_FILE="binutils-${CT_BINUTILS_VERSION}"
CT_GMP_FILE="gmp-${CT_GMP_VERSION}" CT_GMP_FILE="gmp-${CT_GMP_VERSION}"
CT_MPFR_FILE="mpfr-${CT_MPFR_VERSION}" CT_MPFR_FILE="mpfr-${CT_MPFR_VERSION}"
CT_CC_FILE="${CT_CC}-${CT_CC_VERSION}" CT_CC_FILE="${CT_CC}-${CT_CC_VERSION}"