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