mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 22:08:08 +00:00
38 lines
491 B
Makefile
38 lines
491 B
Makefile
ifneq ($(EMULATOR),1)
|
|
OBJS += startup.o
|
|
endif
|
|
|
|
OBJS += buttons.o
|
|
OBJS += layout.o
|
|
OBJS += oled.o
|
|
OBJS += rng.o
|
|
OBJS += serialno.o
|
|
|
|
ifneq ($(EMULATOR),1)
|
|
OBJS += setup.o
|
|
endif
|
|
|
|
OBJS += util.o
|
|
OBJS += memory.o
|
|
OBJS += supervise.o
|
|
|
|
ifneq ($(EMULATOR),1)
|
|
OBJS += timer.o
|
|
endif
|
|
|
|
OBJS += gen/bitmaps.o
|
|
OBJS += gen/fonts.o
|
|
|
|
libtrezor.a: $(OBJS)
|
|
|
|
include Makefile.include
|
|
|
|
libtrezor.a:
|
|
@printf " AR $@\n"
|
|
$(Q)$(AR) rcs $@ $^
|
|
|
|
.PHONY: vendor
|
|
|
|
vendor:
|
|
git submodule update --init --recursive
|