mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 06:18:07 +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 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
|
||||
|
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user