Core: minor core reorganizations to make XST happy
[yari.git] / xtools / BUILD-config
blob000e9da8fa78b7e92384ac4eea8419ad83f426f3
1 # setup some configuration variables
2 builddir=$YARI_XTOOLS_BUILDDIR
3 srcroot=$PWD
4 target=$YARI_XTOOLS_TARGET
5 install_prefix=$YARI_XTOOLS_INSTALL_PREFIX
6 make_option=$YARI_XTOOLS_MAKE_OPTION
7 # enable this if you install into a directory that you don't own
8 sudo=$YARI_XTOOLS_SUDO
11 GNUsrc=~/Downloads/FSF  #$PWD
12 gccdist=gcc-4.2.4
13 binutilsdist=binutils-2.19
14 newlibdist=newlib-1.16.0
15 gdbdist=gdb-6.8
17 download () {
18     location=$1
19     object=$2
21     if [ ! -f $GNUsrc/$object ]; then
22         wget -O $GNUsrc/$object $location/$object
23     else
24         echo "already have cached version of $object"
25     fi