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:
parent
8d183608c2
commit
06a70556e0
@ -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
|
||||||
|
@ -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:"
|
||||||
|
Loading…
Reference in New Issue
Block a user