mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 07:18:09 +00:00
27 lines
646 B
Makefile
27 lines
646 B
Makefile
NAME = bootloader
|
|
|
|
OBJS += bootloader.o
|
|
OBJS += signatures.o
|
|
OBJS += usb.o
|
|
|
|
# overrides from libtrezor
|
|
CFLAGS += -DFONT_SKIP_FIXED=1
|
|
OBJS += ../gen/fonts.small.o
|
|
|
|
# overrides from trezor-crypto
|
|
CFLAGS += -DUSE_PRECOMPUTED_IV=0
|
|
CFLAGS += -DUSE_PRECOMPUTED_CP=0
|
|
OBJS += ../vendor/trezor-crypto/bignum.small.o
|
|
OBJS += ../vendor/trezor-crypto/ecdsa.small.o
|
|
OBJS += ../vendor/trezor-crypto/secp256k1.small.o
|
|
OBJS += ../vendor/trezor-crypto/sha2.small.o
|
|
OBJS += ../vendor/trezor-crypto/memzero.small.o
|
|
OBJS += ../vendor/trezor-crypto/hmac_drbg.small.o
|
|
|
|
OPTFLAGS ?= -Os
|
|
|
|
include ../Makefile.include
|
|
|
|
align: $(NAME).bin
|
|
./firmware_align.py $(NAME).bin
|