2017-12-13 18:38:51 +00:00
|
|
|
ifneq ($(EMULATOR),1)
|
2017-08-08 10:59:39 +00:00
|
|
|
OBJS += startup.o
|
2017-12-13 18:38:51 +00:00
|
|
|
endif
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += buttons.o
|
|
|
|
OBJS += layout.o
|
|
|
|
OBJS += oled.o
|
|
|
|
OBJS += rng.o
|
|
|
|
OBJS += serialno.o
|
2017-12-13 18:38:51 +00:00
|
|
|
|
|
|
|
ifneq ($(EMULATOR),1)
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += setup.o
|
2017-12-13 18:38:51 +00:00
|
|
|
endif
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += util.o
|
|
|
|
OBJS += memory.o
|
2018-03-16 20:40:39 +00:00
|
|
|
OBJS += supervise.o
|
2017-12-13 18:38:51 +00:00
|
|
|
|
|
|
|
ifneq ($(EMULATOR),1)
|
2016-11-17 19:07:41 +00:00
|
|
|
OBJS += timer.o
|
2017-12-13 18:38:51 +00:00
|
|
|
endif
|
|
|
|
|
2018-08-27 15:22:04 +00:00
|
|
|
OBJS += usb21_standard.o
|
|
|
|
OBJS += webusb.o
|
|
|
|
OBJS += winusb.o
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += gen/bitmaps.o
|
|
|
|
OBJS += gen/fonts.o
|
|
|
|
|
|
|
|
libtrezor.a: $(OBJS)
|
|
|
|
|
|
|
|
include Makefile.include
|
2016-05-11 12:38:04 +00:00
|
|
|
|
2018-06-25 19:29:18 +00:00
|
|
|
libtrezor.a:
|
|
|
|
@printf " AR $@\n"
|
|
|
|
$(Q)$(AR) rcs $@ $^
|
|
|
|
|
2016-05-11 12:38:04 +00:00
|
|
|
.PHONY: vendor
|
|
|
|
|
|
|
|
vendor:
|
2018-07-16 12:44:34 +00:00
|
|
|
git submodule update --init --recursive
|