mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 15:28:10 +00:00
build(legacy): build bootloader and intermediary_fw in docker
This commit is contained in:
parent
73ae44f500
commit
c6dc708fe6
@ -108,7 +108,9 @@ for BITCOIN_ONLY in 0 1; do
|
|||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
poetry install
|
poetry install
|
||||||
poetry run script/cibuild
|
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.bin build/firmware/firmware.bin
|
||||||
cp firmware/trezor.elf build/firmware/firmware.elf
|
cp firmware/trezor.elf build/firmware/firmware.elf
|
||||||
poetry run ../python/tools/firmware-fingerprint.py \
|
poetry run ../python/tools/firmware-fingerprint.py \
|
||||||
|
@ -25,6 +25,9 @@ make -C firmware/protob
|
|||||||
|
|
||||||
make -C firmware
|
make -C firmware
|
||||||
|
|
||||||
|
make -C intermediate_fw
|
||||||
|
|
||||||
if [ "$EMULATOR" != 1 ]; then
|
if [ "$EMULATOR" != 1 ]; then
|
||||||
make -C firmware sign
|
make -C firmware sign
|
||||||
|
make -C intermediate_fw sign
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user