mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 15:58:08 +00:00
legacy: fix build parameters
This commit is contained in:
parent
32c5f58782
commit
597b9fabd1
@ -26,11 +26,11 @@ OBJS += reset.o
|
|||||||
OBJS += signing.o
|
OBJS += signing.o
|
||||||
OBJS += crypto.o
|
OBJS += crypto.o
|
||||||
|
|
||||||
ifeq ($(U2F_ENABLED),1)
|
ifneq ($(U2F_ENABLED),0)
|
||||||
OBJS += u2f.o
|
OBJS += u2f.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BITCOIN_ONLY),0)
|
ifneq ($(BITCOIN_ONLY),1)
|
||||||
OBJS += ethereum.o
|
OBJS += ethereum.o
|
||||||
OBJS += ethereum_tokens.o
|
OBJS += ethereum_tokens.o
|
||||||
OBJS += lisk.o
|
OBJS += lisk.o
|
||||||
@ -105,7 +105,7 @@ OBJS += protob/messages-common.pb.o
|
|||||||
OBJS += protob/messages-crypto.pb.o
|
OBJS += protob/messages-crypto.pb.o
|
||||||
OBJS += protob/messages-debug.pb.o
|
OBJS += protob/messages-debug.pb.o
|
||||||
OBJS += protob/messages-management.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-ethereum.pb.o
|
||||||
OBJS += protob/messages-lisk.pb.o
|
OBJS += protob/messages-lisk.pb.o
|
||||||
OBJS += protob/messages-nem.pb.o
|
OBJS += protob/messages-nem.pb.o
|
||||||
@ -131,7 +131,7 @@ CFLAGS += -DDEBUG_LINK=$(DEBUG_LINK)
|
|||||||
CFLAGS += -DDEBUG_LOG=$(DEBUG_LOG)
|
CFLAGS += -DDEBUG_LOG=$(DEBUG_LOG)
|
||||||
CFLAGS += -DSCM_REVISION='"$(shell git rev-parse HEAD | sed 's:\(..\):\\x\1:g')"'
|
CFLAGS += -DSCM_REVISION='"$(shell git rev-parse HEAD | sed 's:\(..\):\\x\1:g')"'
|
||||||
CFLAGS += -DUSE_MONERO=0
|
CFLAGS += -DUSE_MONERO=0
|
||||||
ifeq ($(BITCOIN_ONLY),0)
|
ifneq ($(BITCOIN_ONLY),1)
|
||||||
CFLAGS += -DUSE_ETHEREUM=1
|
CFLAGS += -DUSE_ETHEREUM=1
|
||||||
CFLAGS += -DUSE_NEM=1
|
CFLAGS += -DUSE_NEM=1
|
||||||
MAKO_RENDER_FLAG =
|
MAKO_RENDER_FLAG =
|
||||||
|
@ -278,6 +278,8 @@ static const struct usb_config_descriptor config = {
|
|||||||
.interface = ifaces,
|
.interface = ifaces,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static volatile char tiny = 0;
|
||||||
|
|
||||||
#if U2F_ENABLED
|
#if U2F_ENABLED
|
||||||
|
|
||||||
static enum usbd_request_return_codes hid_control_request(
|
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
|
#endif
|
||||||
|
|
||||||
static volatile char tiny = 0;
|
|
||||||
|
|
||||||
static void main_rx_callback(usbd_device *dev, uint8_t ep) {
|
static void main_rx_callback(usbd_device *dev, uint8_t ep) {
|
||||||
(void)ep;
|
(void)ep;
|
||||||
static CONFIDENTIAL uint8_t buf[64] __attribute__((aligned(4)));
|
static CONFIDENTIAL uint8_t buf[64] __attribute__((aligned(4)));
|
||||||
|
Loading…
Reference in New Issue
Block a user