mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 07:48:10 +00:00
49 lines
984 B
Makefile
49 lines
984 B
Makefile
ifneq ($(EMULATOR),1)
|
|
OBJS += setup.o
|
|
OBJS += startup.o
|
|
OBJS += timer.o
|
|
endif
|
|
|
|
OBJS += buttons.o
|
|
OBJS += common.o
|
|
OBJS += flash.o
|
|
OBJS += gen/bitmaps.o
|
|
OBJS += gen/fonts.o
|
|
OBJS += layout.o
|
|
OBJS += memory.o
|
|
OBJS += oled.o
|
|
OBJS += random_delays.o
|
|
OBJS += rng.o
|
|
OBJS += supervise.o
|
|
OBJS += usb21_standard.o
|
|
OBJS += usb_standard.o
|
|
OBJS += util.o
|
|
OBJS += webusb.o
|
|
OBJS += winusb.o
|
|
|
|
libtrezor.a: $(OBJS)
|
|
|
|
include Makefile.include
|
|
|
|
libtrezor.a:
|
|
@printf " AR $@\n"
|
|
$(Q)$(AR) rcs $@ $^
|
|
|
|
.PHONY: vendor build_unix test_emu test_emu_ui test_emu_ui_record
|
|
|
|
vendor:
|
|
git submodule update --init --recursive
|
|
|
|
build_unix: ## build unix port
|
|
./script/setup
|
|
EMULATOR=1 DEBUG_LINK=1 ./script/cibuild
|
|
|
|
test_emu: ## run integration tests
|
|
./script/test $(TESTOPTS)
|
|
|
|
test_emu_ui: ## run ui integration tests
|
|
./script/test --ui=test --ui-check-missing $(TESTOPTS)
|
|
|
|
test_emu_ui_record: ## record and hash screens for ui integration tests
|
|
./script/test --ui=record --ui-check-missing $(TESTOPTS)
|