1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 01:18:28 +00:00

add "small" switch to makefile

This commit is contained in:
Pavol Rusnak 2014-07-03 16:59:41 +02:00
parent eec5f7df15
commit abf7178319

View File

@ -1,5 +1,8 @@
CC = gcc CC = gcc
CFLAGS = -Wall -Wextra -Os -Wno-sequence-point CFLAGS = -Wall -Wextra -Os -Wno-sequence-point
ifdef SMALL
CFLAGS += -DUSE_PRECOMPUTED_IV=0 -DUSE_PRECOMPUTED_CP=0
endif
OBJS = bignum.o ecdsa.o secp256k1.o rand.o hmac.o bip32.o bip39.o pbkdf2.o base58.o OBJS = bignum.o ecdsa.o secp256k1.o rand.o hmac.o bip32.o bip39.o pbkdf2.o base58.o
OBJS += ripemd160.o OBJS += ripemd160.o
OBJS += sha2.o OBJS += sha2.o