mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 01:18:28 +00:00
gcc-arm-none-eabi is not available in travis yet, install manually
This commit is contained in:
parent
90171e0aa6
commit
f6820ad5f6
19
.travis.yml
19
.travis.yml
@ -1,19 +1,14 @@
|
||||
sudo: false
|
||||
language: c
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- build-essential
|
||||
- git
|
||||
- gcc-arm-none-eabi
|
||||
|
||||
install:
|
||||
- sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y build-essential git gcc-arm-none-eabi
|
||||
- git clone https://github.com/libopencm3/libopencm3
|
||||
|
||||
script:
|
||||
- cd libopencm3; make; cd ..
|
||||
- make -C libopencm3
|
||||
- TOOLCHAIN_DIR=libopencm3 make
|
||||
- cd firmware; TOOLCHAIN_DIR=../libopencm3 make; cd ..
|
||||
- cd bootloader; TOOLCHAIN_DIR=../libopencm3 make; cd ..
|
||||
- cd demo; TOOLCHAIN_DIR=../libopencm3 make; cd ..
|
||||
- TOOLCHAIN_DIR=../libopencm3 make -C firmware
|
||||
- TOOLCHAIN_DIR=../libopencm3 make -C bootloader
|
||||
- TOOLCHAIN_DIR=../libopencm3 make -C demo
|
||||
|
@ -1,5 +1,5 @@
|
||||
TOP_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
TOOLCHAIN_DIR := $(TOP_DIR)/../libopencm3
|
||||
TOOLCHAIN_DIR ?= $(TOP_DIR)/../libopencm3
|
||||
|
||||
PREFIX ?= arm-none-eabi-
|
||||
CC = $(PREFIX)gcc
|
||||
|
Loading…
Reference in New Issue
Block a user