1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

build: also build bootloader during build-docker

This commit is contained in:
matejcik 2023-04-03 16:46:54 +02:00
parent a09c404359
commit 331bba9b70

View File

@ -171,14 +171,15 @@ for BITCOIN_ONLY in ${VARIANTS_core[@]}; do
cd /tmp cd /tmp
git clone "$REPOSITORY" trezor-firmware git clone "$REPOSITORY" trezor-firmware
cd trezor-firmware/core cd trezor-firmware/core
ln -s /build build
git checkout "$TAG" git checkout "$TAG"
git submodule update --init --recursive git submodule update --init --recursive
poetry install poetry install
poetry run make clean vendor build_firmware poetry run make clean vendor build_bootloader build_firmware
poetry run ../python/tools/firmware-fingerprint.py \ poetry run ../python/tools/firmware-fingerprint.py \
-o build/firmware/firmware.bin.fingerprint \ -o build/firmware/firmware.bin.fingerprint \
build/firmware/firmware.bin build/firmware/firmware.bin
rm -r /build/*
cp -r build/* /build
chown -R $USER:$GROUP /build chown -R $USER:$GROUP /build
EOF EOF