diff -r eeea35fbf182 -r 89b41dbffe8d scripts/build/binutils.sh --- a/scripts/build/binutils.sh Sat Feb 24 11:00:05 2007 +0000 +++ b/scripts/build/binutils.sh Mon May 07 09:04:02 2007 +0000 @@ -2,6 +2,19 @@ # Copyright 2007 Yann E. MORIN # Licensed under the GPL v2. See COPYING in the root of this package +# Download binutils +do_binutils_get() { + CT_GetFile "${CT_BINUTILS_FILE}" \ + ftp://ftp.gnu.org/gnu/binutils \ + ftp://ftp.kernel.org/pub/linux/devel/binutils +} + +# Extract binutils +do_binutils_extract() { + CT_ExtractAndPatch "${CT_BINUTILS_FILE}" +} + +# Build binutils do_binutils() { mkdir -p "${CT_BUILD_DIR}/build-binutils" cd "${CT_BUILD_DIR}/build-binutils"