1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +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 add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
- sudo apt-get update - sudo apt-get update
- sudo apt-get install -y build-essential git gcc-arm-none-eabi - sudo apt-get install -y build-essential git gcc-arm-none-eabi
- git clone https://github.com/libopencm3/libopencm3
script: script:
- make -C libopencm3 - make -C libopencm3
- TOOLCHAIN_DIR=libopencm3 make - make
- TOOLCHAIN_DIR=../libopencm3 make -C firmware - make -C firmware
- TOOLCHAIN_DIR=../libopencm3 make -C bootloader - make -C bootloader
- TOOLCHAIN_DIR=../libopencm3 make -C demo - make -C demo

View File

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