mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
firmware: Create ELF from fastflash/bootloader.bin
This commit is contained in:
parent
e74f9d8730
commit
65bb167db6
@ -66,3 +66,9 @@ CFLAGS += -DDEBUG_LINK=0
|
||||
CFLAGS += -DDEBUG_LOG=0
|
||||
CFLAGS += -DSCM_REVISION='"$(shell git rev-parse HEAD | sed 's:\(..\):\\x\1:g')"'
|
||||
CFLAGS += -DUSE_ETHEREUM=1
|
||||
|
||||
bootloader.o: ../fastflash/bootloader.bin
|
||||
$(OBJCOPY) -I binary -O elf32-littlearm -B arm \
|
||||
--redefine-sym _binary_$(shell echo -n "$<" | tr -c "[:alnum:]" "_")_size=__bootloader_size__ \
|
||||
--rename-section .data=.bootloader \
|
||||
$< $@
|
||||
|
Loading…
Reference in New Issue
Block a user