From f5a383d36638e42d53b961842901f202a226e25a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 19 Jun 2012 13:14:02 -0400 Subject: [PATCH] setup_board: look up sdk targets only We don't care about non-sdk targets when setting up the host boards, so only load those for processing. BUG=None TEST=`cbuildbot chromiumos-sdk` passed Change-Id: Ifa0f82a8c9704862a714fd9f35cbd11d809e295f Reviewed-on: https://gerrit.chromium.org/gerrit/25626 Reviewed-by: Zdenek Behan Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- setup_board | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_board b/setup_board index 7c502fc329..d7cd3c7668 100755 --- a/setup_board +++ b/setup_board @@ -553,7 +553,7 @@ if ${HOST_BOARD}; then # The new chroot should have gcc for each target. Make sure that # the latest one is correctly selected. Ignore cat errors as not # all overlays will have a toolchain.conf. - ALL_TARGETS=$(cros_setup_toolchains --show-board-cfg=all) + ALL_TARGETS=$(cros_setup_toolchains --show-board-cfg=sdk) for target in ${ALL_TARGETS//,/ }; do libc=$(eval $(crossdev --show-target-cfg "${target}"); echo ${libc_pn}) if [[ ${libc} == "glibc" ]] ; then