Speed up 1'st toolchain rebuild.

This commit is contained in:
Kolan Sh 2012-12-18 13:52:26 +04:00
parent 6da19d5e00
commit d48cd2705d
1 changed files with 2 additions and 2 deletions

View File

@ -242,8 +242,8 @@ if [ $STAGE_CNT -eq $STAGE ]; then
install -d -o portage -g portage -m775 $pkgdir install -d -o portage -g portage -m775 $pkgdir
# first toolchain build # first toolchain build
emerge -1vq sys-kernel/linux-headers sys-libs/glibc sys-devel/binutils \ emerge -1uvq sys-kernel/linux-headers sys-libs/glibc sys-devel/binutils \
sys-devel/gcc-config sys-devel/gcc sys-devel/binutils-config sys-devel/gcc-config sys-devel/gcc sys-devel/binutils-config sys-devel/libtool
[ 0 -ne $? ] && echo "Stage $STAGE: 1'th toolchain build failed ;-( =======" && exit $STAGE [ 0 -ne $? ] && echo "Stage $STAGE: 1'th toolchain build failed ;-( =======" && exit $STAGE
rm /etc/portage/need_toolchain_rebuild rm /etc/portage/need_toolchain_rebuild
[ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_toolchain_rebuild ;-( =======" && exit $STAGE [ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_toolchain_rebuild ;-( =======" && exit $STAGE