mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-14 21:58:44 +08:00
19 lines
410 B
Makefile
19 lines
410 B
Makefile
|
include ../common/Makefile.common
|
||
|
|
||
|
BINS = bootrom.bin fullimage.bin proxmark3_recovery.bin
|
||
|
|
||
|
all: $(BINS)
|
||
|
|
||
|
bootrom.bin: ../bootrom/obj/bootrom.elf
|
||
|
$(OBJCOPY) --gap-fill=0xff --pad-to 0x00102000 -O binary $^ $@
|
||
|
|
||
|
fullimage.bin: ../armsrc/obj/fullimage.elf
|
||
|
$(OBJCOPY) --gap-fill=0xff -O binary $^ $@
|
||
|
|
||
|
proxmark3_recovery.bin: bootrom.bin fullimage.bin
|
||
|
cat bootrom.bin fullimage.bin > $@
|
||
|
|
||
|
clean:
|
||
|
rm -f $(BINS)
|
||
|
|