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

use OPTFLAGS=-Os for bootloader docker build

This commit is contained in:
Pavol Rusnak 2016-02-29 13:33:55 +01:00
parent da027f7652
commit d77152b5a5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -9,6 +9,7 @@ docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
git checkout $FIRMWARETAG && \
git submodule update --init && \
make -C vendor/libopencm3 && \
export OPTFLAGS=-Os
make && \
make -C bootloader && \
cp bootloader/bootloader.bin /output/bootloader-$FIRMWARETAG.bin"