Line 13... |
Line 13... |
#
|
#
|
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
##Date: 21/04/2009
|
##Date: 26/05/2009
|
##Title: MOF_ORSOC_TCN_v5c_or32-elf.sh
|
##Title: MOF_ORSOC_TCN_v5c_or32-elf.sh
|
##Purpose: Complete Toolchain Builder from MOF & ORSoC.
|
##Purpose: Complete Toolchain Builder from MOF & ORSoC.
|
##initial rgd, mse
|
##initial rgd, mse
|
##updated jb
|
##updated jb
|
|
|
Line 70... |
Line 70... |
# - Changed output to all be piped to appropriate files, makes things neater
|
# - Changed output to all be piped to appropriate files, makes things neater
|
# 260409 - Added Cygwin exports section
|
# 260409 - Added Cygwin exports section
|
# - Hopefully now runs on Cygwin with new patch for uClibc
|
# - Hopefully now runs on Cygwin with new patch for uClibc
|
# 300409 - New Binutils patch - fixes objdump instruction decode issue
|
# 300409 - New Binutils patch - fixes objdump instruction decode issue
|
# 110509 - (v5c) Put in check for required build tools before building
|
# 110509 - (v5c) Put in check for required build tools before building
|
|
# 260509 - Changed gcc's package download to gcc-core as we only use the
|
|
# c-language compiler and libraries right now.
|
|
|
# TODO: OS X build things - need an "elf.h" from some Linux machine's
|
# TODO: OS X build things - need an "elf.h" from some Linux machine's
|
# /usr/local/include dir and put in Mac's /usr/local/include dir -
|
# /usr/local/include dir and put in Mac's /usr/local/include dir -
|
# this solves issue with Linux compilation
|
# this solves issue with Linux compilation
|
# TODO: OS X build things - add HOST_LOADLIBES="lintl" to make line of uClibc
|
# TODO: OS X build things - add HOST_LOADLIBES="lintl" to make line of uClibc
|
Line 194... |
Line 196... |
DN="n"
|
DN="n"
|
DIR=`pwd`
|
DIR=`pwd`
|
|
|
## Versions of the toolchain components ##
|
## Versions of the toolchain components ##
|
BINUTILS_VER=binutils-2.18.50
|
BINUTILS_VER=binutils-2.18.50
|
GCC_VER=gcc-4.2.2
|
GCC_VER_NUM=4.2.2
|
|
GCC_VER=gcc-$GCC_VER_NUM
|
GDB_VER=gdb-6.8
|
GDB_VER=gdb-6.8
|
UCLIB_VER=uClibc-0.9.29
|
UCLIB_VER=uClibc-0.9.29
|
LINUX_VER=linux-2.6.24
|
LINUX_VER=linux-2.6.24
|
BUSY_VER=busybox-1.7.5
|
BUSY_VER=busybox-1.7.5
|
SIM_VER=or1ksim-0.3.0
|
SIM_VER=or1ksim-0.3.0
|
Line 227... |
Line 230... |
|
|
|
|
## Tarballs ##
|
## Tarballs ##
|
ZBALL1=$BINUTILS_VER.tar.bz2
|
ZBALL1=$BINUTILS_VER.tar.bz2
|
TBALL1=$BINUTILS_VER.tar
|
TBALL1=$BINUTILS_VER.tar
|
ZBALL2=$GCC_VER.tar.bz2
|
ZBALL2=gcc-core-$GCC_VER_NUM.tar.bz2
|
TBALL2=$GCC_VER.tar
|
TBALL2=$GCC_VER.tar
|
ZBALL3=$UCLIB_VER.tar.bz2
|
ZBALL3=$UCLIB_VER.tar.bz2
|
TBALL3=$UCLIB_VER.tar
|
TBALL3=$UCLIB_VER.tar
|
ZBALL4=$LINUX_VER.tar.bz2
|
ZBALL4=$LINUX_VER.tar.bz2
|
TBALL4=$LINUX_VER.tar
|
TBALL4=$LINUX_VER.tar
|