setup_board: do not check for gdb with arm-eabi toolchain

Looks like there was a desync between adding gdb support and arm-eabi
support.  We don't provide gdb for the arm-eabi toolchain, so don't
consider it when looking for updates.  Otherwise we end up constantly
re-installing the arm-eabi toolchain because there are "updates".

BUG=None
TEST=setup_board for x86-alex stops re-installing the arm-eabi toolchain everytime

Change-Id: I099bc6a411b6cacdd3d7cdd5e4eb872a937678bd
Reviewed-on: https://gerrit.chromium.org/gerrit/12905
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2011-12-14 12:05:14 -05:00 committed by Gerrit
parent cb782248d4
commit 1a39550084

View File

@ -175,7 +175,9 @@ toolchain_needs_update() {
pkgs+=" =cross-$toolchain/linux-headers-$FLAGS_kernel_version"
fi
fi
if [[ "$toolchain" != "arm-none-eabi" ]] ; then
pkgs+=" cross-$toolchain/gdb"
fi
ACCEPT_KEYWORDS="~* *" emerge $flags $pkgs | grep cross-$toolchain/
}