]> git.zerfleddert.de Git - proxmark3-svn/blame - recovery/Makefile
added Makefile for binary files to recover proxmark with JTAG interface
[proxmark3-svn] / recovery / Makefile
CommitLineData
a79e330d 1include ../common/Makefile.common
2
3BINS = bootrom.bin fullimage.bin proxmark3_recovery.bin
4
5all: $(BINS)
6#%: ../bootrom/% ../armsrc/% $(BINS)
7#clean: %: ../bootrom/% ../armsrc/%
8# rm *.bin
9
10bootrom.bin: ../bootrom/obj/bootrom.elf
11 $(OBJCOPY) --gap-fill=0xff --pad-to 0x00102000 -O binary $^ $@
12
13fullimage.bin: ../armsrc/obj/fullimage.elf
14 $(OBJCOPY) --gap-fill=0xff -O binary $^ $@
15
16proxmark3_recovery.bin: bootrom.bin fullimage.bin
17 cat bootrom.bin fullimage.bin > $@
18 chmod 755 $@
19
20clean:
21 rm -f $(BINS)
22
Impressum, Datenschutz