fix Docker build of libopencm3

This commit is contained in:
Pavol Rusnak 2017-05-09 01:42:23 +02:00
parent 5faee8149f
commit 31a09a9f75
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
cd trezor-mcu && \
git checkout $FIRMWARETAG && \
git submodule update --init && \
make -C vendor/libopencm3 && \
CFLAGS='-std=c99' make -C vendor/libopencm3 && \
export OPTFLAGS=-Os
make && \
make -C bootloader && \

View File

@ -10,7 +10,7 @@ docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
cd trezor-mcu && \
git checkout $FIRMWARETAG && \
git submodule update --init && \
make -C vendor/libopencm3 && \
CFLAGS='-std=c99' make -C vendor/libopencm3 && \
make && \
make -C firmware && \
make -C firmware sign && \