slub: optimize and speed-up slub allocator - patches from newer kernel versions
[tomato.git] / toolchain / build26.sh
blob6ad4d00a64452ea40d1685dbdaadde43c66a8de9
1 #########################################################################
2 # Toolchain Build Script #
3 #########################################################################
5 GCCVER=4.2.4
7 ROOTDIR=$PWD
8 TARGETDIR=hndtools-mipsel-uclibc-${GCCVER}
9 DESTDIR=/opt/brcm/${TARGETDIR}
11 make -C ../release/src-rt prepk
13 rm -f .config
14 ln -sf config.2.6-${GCCVER} .config
15 make clean; make dirclean; make V=99
17 cd $DESTDIR/bin
18 ln -nsf mipsel-linux-uclibc-gcc-${GCCVER} mipsel-linux-uclibc-gcc
19 ln -nsf mipsel-linux-uclibc-gcc-${GCCVER} mipsel-linux-gcc-${GCCVER}
20 ln -nsf mipsel-linux-uclibc-gcc-${GCCVER} mipsel-uclibc-gcc-${GCCVER}
22 cd /opt/brcm
23 rm -f hndtools-mipsel-linux
24 rm -f hndtools-mipsel-uclibc
26 mkdir -p K26
27 rm -rf K26/hndtools-mipsel-uclibc-${GCCVER}
28 mv -f hndtools-mipsel-uclibc-${GCCVER} K26/
30 ln -nsf K26/hndtools-mipsel-uclibc-${GCCVER} hndtools-mipsel-linux
31 ln -nsf K26/hndtools-mipsel-uclibc-${GCCVER} hndtools-mipsel-uclibc
33 cd $ROOTDIR