Fix Binutils URL

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@60 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen 2006-04-27 00:04:35 +00:00
parent 8db4c50cf2
commit c9d5da94be
1 changed files with 9 additions and 7 deletions

View File

@ -20,8 +20,8 @@ set -e
# Specify the versions # Specify the versions
# #
GCC=gcc-4.1.0 GCC=gcc-4.1.0
# BINUTILS=binutils-2.16.1 BINUTILS=binutils-2.16.1
BINUTILS=binutils-2.16.91-20060119-1 # BINUTILS=binutils-2.16.91-20060119-1
CYGWIN_SNAP=20060403 # You may need to find a more recent one. CYGWIN_SNAP=20060403 # You may need to find a more recent one.
# #
@ -32,8 +32,10 @@ PREFIX="${PREFIX:-/opt/tiano/}"
# #
# Where to get the GNU tools # Where to get the GNU tools
# #
BINUTILS_URL=http://superb.dl.sourceforge.net/sourceforge/mingw/${BINUTILS}-src.tar.gz # BINUTILS_URL=http://superb.dl.sourceforge.net/sourceforge/mingw/${BINUTILS}-src.tar.gz
GCC_URL=http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gcc/gcc-${GCC}/${GCC}.tar.bz2 BINUTILS_URL=ftp://ftp.ibiblio.org/pub/mirrors/gnu/ftp/gnu/binutils/${BINUTILS}.tar.bz2
# GCC_URL=http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gcc/gcc-${GCC}/${GCC}.tar.bz2
GCC_URL=ftp://mirrors.kernel.org/gnu/gcc/$GCC/$GCC.tar.bz2
CYG_LOC=http://cygwin.com/snapshots/cygwin-src-${CYGWIN_SNAP}.tar.bz2 CYG_LOC=http://cygwin.com/snapshots/cygwin-src-${CYGWIN_SNAP}.tar.bz2
# export http_proxy=http://proxy.dp.intel.com:911 # export http_proxy=http://proxy.dp.intel.com:911
# export ftp_proxy=http://proxy.dp.intel.com:911 # export ftp_proxy=http://proxy.dp.intel.com:911
@ -41,8 +43,8 @@ CYG_LOC=http://cygwin.com/snapshots/cygwin-src-${CYGWIN_SNAP}.tar.bz2
# #
# Uncomment one of the following depending upon which your system provides # Uncomment one of the following depending upon which your system provides
# #
GET_COMMAND="curl --remote-name" #GET_COMMAND="curl --remote-name"
#GET_COMMAND="wget -nc --no-directories --retr-symlinks " GET_COMMAND="wget -nc --no-directories --retr-symlinks "
# #
# Allow environment to override some programs # Allow environment to override some programs
@ -70,7 +72,7 @@ getSource() {
# #
unpackSource() { unpackSource() {
(rm -rf "${BINUTILS}" (rm -rf "${BINUTILS}"
tar zxf "${BINUTILS}-src.tar.gz" tar jxf "${BINUTILS}.tar.bz2"
) & ) &
(rm -rf "${GCC}" (rm -rf "${GCC}"