source: ssp_armv6_m_gcc/trunk/setup_tools.sh@ 421

Last change on this file since 421 was 421, checked in by nmir-saito, 4 years ago

Merge branch 'rubycfg' to trunk

  • Property svn:executable set to *
  • Property svn:mime-type set to text/plain; charset=utf-8
File size: 312 bytes
RevLine 
[355]1#!/usr/bin/env bash
2set -eu
3
[415]4# Variables
5GCC_COMMAND=arm-none-eabi-gcc
[355]6
[415]7: "install $GCC_COMMAND" && {
8 if type $GCC_COMMAND > /dev/null 2>&1; then
9 echo "$GCC_COMMAND already exists. skip install."
10 else
11 sudo apt-get update
[418]12 sudo apt-get install -y gcc-arm-none-eabi gdb-arm-none-eabi
[415]13 fi
14}
15
[355]16exit 0
Note: See TracBrowser for help on using the repository browser.