1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00

build(legacy): build bootloader and intermediary_fw in docker

This commit is contained in:
Pavol Rusnak 2021-04-20 21:36:48 +02:00
parent 73ae44f500
commit c6dc708fe6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 6 additions and 1 deletions

View File

@ -108,7 +108,9 @@ for BITCOIN_ONLY in 0 1; do
git submodule update --init --recursive
poetry install
poetry run script/cibuild
mkdir -p build/firmware
mkdir -p build/bootloader build/firmware build/intermediate_fw
cp bootloader/bootloader.bin build/bootloader/bootloader.bin
cp intermediate_fw/trezor.bin build/intermediate_fw/inter.bin
cp firmware/trezor.bin build/firmware/firmware.bin
cp firmware/trezor.elf build/firmware/firmware.elf
poetry run ../python/tools/firmware-fingerprint.py \

View File

@ -25,6 +25,9 @@ make -C firmware/protob
make -C firmware
make -C intermediate_fw
if [ "$EMULATOR" != 1 ]; then
make -C firmware sign
make -C intermediate_fw sign
fi