mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-12 18:49:07 +00:00
build: include vendorheader.bin in source tree
This commit is contained in:
parent
1f07f310b3
commit
7cb7a90d27
@ -8,7 +8,6 @@ before_install:
|
||||
|
||||
install:
|
||||
- sudo apt-get install -y build-essential gcc-multilib gcc-arm-embedded
|
||||
- sudo apt-get install python3-pil
|
||||
|
||||
script:
|
||||
- make build_cross
|
||||
|
3
Makefile
3
Makefile
@ -24,6 +24,9 @@ vendor: ## update git submodules
|
||||
res: ## update resources
|
||||
./tools/res_collect
|
||||
|
||||
vendorheader: ## contruct default vendor header
|
||||
./tools/build_vendorheader '0000000000000000000000000000000000000000000000000000000000000000,0000000000000000000000000000000000000000000000000000000000000000,0000000000000000000000000000000000000000000000000000000000000000' 2 1.1 SatoshiLabs assets/satoshilabs_120.png micropython/firmware/vendorheader.bin
|
||||
|
||||
## emulator commands:
|
||||
|
||||
run: ## run unix port
|
||||
|
@ -400,9 +400,6 @@ QSTR_GEN_EXTRA_CFLAGS += -DNO_QSTR -DN_X64 -DN_X86 -DN_THUMB -DN_ARM -DN_XTENSA
|
||||
|
||||
all: $(BUILD)/$(TARGET).bin
|
||||
|
||||
$(SRCDIR_FW)/firmware/vendorheader.bin: assets/satoshilabs_120.png
|
||||
./tools/build_vendorheader '0000000000000000000000000000000000000000000000000000000000000000,0000000000000000000000000000000000000000000000000000000000000000,0000000000000000000000000000000000000000000000000000000000000000' 2 1.1 SatoshiLabs assets/satoshilabs_120.png micropython/firmware/vendorheader.bin
|
||||
|
||||
$(BUILD_FW)/firmware/vendorheader.o: $(SRCDIR_FW)/firmware/vendorheader.bin
|
||||
$(Q)$(OBJCOPY) -I binary -O elf32-littlearm -B arm \
|
||||
--rename-section .data=.vendorheader,alloc,load,readonly,contents \
|
||||
|
1
micropython/firmware/.gitignore
vendored
1
micropython/firmware/.gitignore
vendored
@ -1,2 +1 @@
|
||||
build/
|
||||
vendorheader.bin
|
||||
|
BIN
micropython/firmware/vendorheader.bin
Normal file
BIN
micropython/firmware/vendorheader.bin
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user