1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00

legacy: fix build parameters

This commit is contained in:
Pavol Rusnak 2019-04-27 16:38:08 +02:00
parent 32c5f58782
commit 597b9fabd1
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 6 additions and 6 deletions

View File

@ -26,11 +26,11 @@ OBJS += reset.o
OBJS += signing.o
OBJS += crypto.o
ifeq ($(U2F_ENABLED),1)
ifneq ($(U2F_ENABLED),0)
OBJS += u2f.o
endif
ifeq ($(BITCOIN_ONLY),0)
ifneq ($(BITCOIN_ONLY),1)
OBJS += ethereum.o
OBJS += ethereum_tokens.o
OBJS += lisk.o
@ -105,7 +105,7 @@ OBJS += protob/messages-common.pb.o
OBJS += protob/messages-crypto.pb.o
OBJS += protob/messages-debug.pb.o
OBJS += protob/messages-management.pb.o
ifeq ($(BITCOIN_ONLY),0)
ifneq ($(BITCOIN_ONLY),1)
OBJS += protob/messages-ethereum.pb.o
OBJS += protob/messages-lisk.pb.o
OBJS += protob/messages-nem.pb.o
@ -131,7 +131,7 @@ CFLAGS += -DDEBUG_LINK=$(DEBUG_LINK)
CFLAGS += -DDEBUG_LOG=$(DEBUG_LOG)
CFLAGS += -DSCM_REVISION='"$(shell git rev-parse HEAD | sed 's:\(..\):\\x\1:g')"'
CFLAGS += -DUSE_MONERO=0
ifeq ($(BITCOIN_ONLY),0)
ifneq ($(BITCOIN_ONLY),1)
CFLAGS += -DUSE_ETHEREUM=1
CFLAGS += -DUSE_NEM=1
MAKO_RENDER_FLAG =

View File

@ -278,6 +278,8 @@ static const struct usb_config_descriptor config = {
.interface = ifaces,
};
static volatile char tiny = 0;
#if U2F_ENABLED
static enum usbd_request_return_codes hid_control_request(
@ -309,8 +311,6 @@ static void u2f_rx_callback(usbd_device *dev, uint8_t ep) {
#endif
static volatile char tiny = 0;
static void main_rx_callback(usbd_device *dev, uint8_t ep) {
(void)ep;
static CONFIDENTIAL uint8_t buf[64] __attribute__((aligned(4)));