2017-06-10 18:40:38 +00:00
|
|
|
APPVER = fastflash
|
|
|
|
|
|
|
|
NAME = bootloader
|
|
|
|
|
|
|
|
OBJS += bootloader.o
|
|
|
|
OBJS += signatures.o
|
|
|
|
OBJS += usb.o
|
|
|
|
|
2017-07-04 18:21:10 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/bignum.small.o
|
2017-07-04 17:34:25 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/ecdsa.small.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/secp256k1.small.o
|
2017-07-04 18:21:10 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/sha2.small.o
|
2018-01-20 21:59:29 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/memzero.small.o
|
2017-06-10 18:40:38 +00:00
|
|
|
|
2017-07-04 17:34:25 +00:00
|
|
|
CFLAGS += -DUSE_PRECOMPUTED_IV=0
|
|
|
|
CFLAGS += -DUSE_PRECOMPUTED_CP=0
|
|
|
|
|
2017-07-04 18:21:10 +00:00
|
|
|
OPTFLAGS ?= -Os
|
|
|
|
|
2017-06-10 18:40:38 +00:00
|
|
|
include ../Makefile.include
|
|
|
|
|
|
|
|
CFLAGS += -I../bootloader
|