Switch off --nousepkg flag for tegra2 to save on build speed.

Now that the new compiler has been published, there is no need to use
nousepkg anymore. So we can remove this to speed up builds for folks
who are upgrading.

BUG=none
TEST=Remote trybot run to verify tegra2 toolchain is still upgraded
     to hardfp.

Change-Id: Iad08114f971c6a9e1a84b1101b25ae60e8822751
Reviewed-on: https://gerrit.chromium.org/gerrit/22406
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Brian Harring <ferringb@chromium.org>
Commit-Ready: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
David James 2012-05-10 14:39:21 -07:00
parent c3d2145466
commit e6d980631d

View File

@ -19,27 +19,8 @@ for ldso in /build/*/lib/ld-linux.so.3; do
info "sudo rm -rf ${build}.softfp"
sudo mv ${build}{,.softfp}
info "Running setup_board --board=${board}"
# We run with nousepkg for people who have an old toolchain
# and haven't upgraded to the hardfp one yet. This might
# add a little overhead once, but we need this to recover
# the builders because they can't produce toolchain binpkgs
# until they've upgraded themselves.
# Once people's toolchain is up-to-date, this won't cause
# any real overhead.
~/trunk/src/scripts/setup_board \
--nousepkg \
--board=${board} \
--skip_chroot_upgrade
fi
done
# Make sure we have a gcc version that was built with USE=hardfp.
if ! portageq has_version / 'cross-armv7a-cros-linux-gnueabi/gcc[hardfp]'; then
info "Making sure your arm toolchain is up-to-date"
info "by installing an arm-generic board"
~/trunk/src/scripts/setup_board \
--nousepkg \
--force \
--board=arm-generic \
--skip_chroot_upgrade
fi