blob: fd69741649d5af5c47aacb4b5898164630574b03 [file] [log] [blame]
Ahmad Sharif795ed172011-06-30 00:24:021#!/bin/bash
2
3# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7# Script to switch the toolchain compiler. In addition to switching the
8# compiler by calling gcc-config, it copies over the libgcc_s.so and
9# libstdc++.so files to all board roots that use this cross compiler.
David James7c2e2f72012-07-10 17:17:1010. /usr/lib/crosutils/common.sh || exit 1
Ahmad Sharif795ed172011-06-30 00:24:0211. "${SRC_ROOT}/platform/dev/toolchain_utils.sh" ||
12 ! echo "Unable to load toolchain_utils.sh" || exit 1
13
14cros_gcc_config "$@"