mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
use OPTFLAGS=-Os for bootloader docker build
This commit is contained in:
parent
da027f7652
commit
d77152b5a5
@ -9,6 +9,7 @@ docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
|
|||||||
git checkout $FIRMWARETAG && \
|
git checkout $FIRMWARETAG && \
|
||||||
git submodule update --init && \
|
git submodule update --init && \
|
||||||
make -C vendor/libopencm3 && \
|
make -C vendor/libopencm3 && \
|
||||||
|
export OPTFLAGS=-Os
|
||||||
make && \
|
make && \
|
||||||
make -C bootloader && \
|
make -C bootloader && \
|
||||||
cp bootloader/bootloader.bin /output/bootloader-$FIRMWARETAG.bin"
|
cp bootloader/bootloader.bin /output/bootloader-$FIRMWARETAG.bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user