mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
24 lines
565 B
Makefile
24 lines
565 B
Makefile
NAME = bootloader
|
|
|
|
MCU_DIR=$(subst /bootloader,,$(PWD))
|
|
|
|
OBJS += bootloader.o
|
|
OBJS += signatures.o
|
|
OBJS += usb.o
|
|
|
|
OBJS += $(MCU_DIR)/trezor-crypto/bignum.small.o
|
|
OBJS += $(MCU_DIR)/trezor-crypto/ecdsa.small.o
|
|
OBJS += $(MCU_DIR)/trezor-crypto/hmac.o
|
|
OBJS += $(MCU_DIR)/trezor-crypto/ripemd160.o
|
|
OBJS += $(MCU_DIR)/trezor-crypto/secp256k1.small.o
|
|
OBJS += $(MCU_DIR)/trezor-crypto/sha2.o
|
|
|
|
CFLAGS += -DUSE_PRECOMPUTED_IV=0
|
|
CFLAGS += -DUSE_PRECOMPUTED_CP=0
|
|
CFLAGS += -DUSE_PUBKEY_VALIDATE=0
|
|
|
|
include $(MCU_DIR)/Makefile.include
|
|
|
|
align:
|
|
./firmware_align.py $(NAME).bin
|