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
1 changed files with 1 additions and 0 deletions

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"