blob: fd69741649d5af5c47aacb4b5898164630574b03 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script to switch the toolchain compiler. In addition to switching the
# compiler by calling gcc-config, it copies over the and
# files to all board roots that use this cross compiler.
. /usr/lib/crosutils/ || exit 1
. "${SRC_ROOT}/platform/dev/" ||
! echo "Unable to load" || exit 1
cros_gcc_config "$@"