1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

cleanup docker build and travis file

This commit is contained in:
Pavol Rusnak 2015-12-15 00:30:10 +01:00
parent 8d183608c2
commit 06a70556e0
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 7 additions and 11 deletions

View File

@ -4,11 +4,10 @@ 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:
- make -C libopencm3
- TOOLCHAIN_DIR=libopencm3 make
- TOOLCHAIN_DIR=../libopencm3 make -C firmware
- TOOLCHAIN_DIR=../libopencm3 make -C bootloader
- TOOLCHAIN_DIR=../libopencm3 make -C demo
- make
- make -C firmware
- make -C bootloader
- make -C demo

View File

@ -8,13 +8,10 @@ docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
cd trezor-mcu && \
git checkout $FIRMWARETAG && \
git submodule update --init && \
cd libopencm3 &&
make -C libopencm3 && \
make && \
cd .. && \
make && \
cd firmware && \
make && \
cp trezor.bin /output/trezor-$FIRMWARETAG.bin"
make -C firmware && \
cp firmware/trezor.bin /output/trezor-$FIRMWARETAG.bin"
echo "---------------------"
echo "Firmware fingerprint:"