Changed some nvram defaults
[tomato.git] / toolchain / build.sh
blobdf3a5d376aaf870945a63cb6d8068b3ec3422723
1 #########################################################################
2 # Toolchain Build Script #
3 #########################################################################
5 GCCVER=3.4.6
7 ROOTDIR=$PWD
8 TARGETDIR=hndtools-mipsel-uclibc-${GCCVER}
9 DESTDIR=/opt/brcm/${TARGETDIR}
11 rm -f .config
12 ln -sf config.${GCCVER} .config
13 make clean; make dirclean; make V=99
15 cd $DESTDIR/bin
16 ln -nsf mipsel-linux-uclibc-gcc-${GCCVER} mipsel-linux-uclibc-gcc
17 ln -nsf mipsel-linux-uclibc-gcc-${GCCVER} mipsel-linux-gcc-${GCCVER}
18 ln -nsf mipsel-linux-uclibc-gcc-${GCCVER} mipsel-uclibc-gcc-${GCCVER}
20 cd /opt/brcm
21 rm -f hndtools-mipsel-linux
22 rm -f hndtools-mipsel-uclibc
23 ln -nsf hndtools-mipsel-uclibc-${GCCVER} hndtools-mipsel-linux
24 ln -nsf hndtools-mipsel-uclibc-${GCCVER} hndtools-mipsel-uclibc
26 cd $ROOTDIR