install binutils manually

This commit is contained in:
Jorge Aparicio 2016-08-13 12:41:50 -05:00
parent c6fab21982
commit e7b10e53ac
2 changed files with 10 additions and 10 deletions

View File

@ -6,22 +6,15 @@ matrix:
- env: TARGET=thumbv6m-none-eabi
os: linux
dist: trusty
addons:
apt:
packages: &cortex
- gcc-arm-none-eabi
sudo: required
- env: TARGET=thumbv7m-none-eabi
os: linux
dist: trusty
addons:
apt:
packages: *cortex
sudo: required
- env: TARGET=thumbv7em-none-eabi
os: linux
dist: trusty
addons:
apt:
packages: *cortex
sudo: required
- env: TARGET=i586-unknown-linux-gnu
os: linux
services: docker

View File

@ -33,6 +33,13 @@ install_binutils() {
brew install binutils
;;
esac
case $TARGET in
thumbv*-none-eabi)
sudo apt-get install -y --no-install-recommends \
binutils-arm-none-eabi
;;
esac
}
install_c_toolchain() {