X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/62ee4fedd54fcfbc62676da90384cbc2b48ebed7..a79e330de5604f355c347cee1b2471b8aaf28089:/recovery/Makefile diff --git a/recovery/Makefile b/recovery/Makefile new file mode 100644 index 00000000..12b8d397 --- /dev/null +++ b/recovery/Makefile @@ -0,0 +1,22 @@ +include ../common/Makefile.common + +BINS = bootrom.bin fullimage.bin proxmark3_recovery.bin + +all: $(BINS) +#%: ../bootrom/% ../armsrc/% $(BINS) +#clean: %: ../bootrom/% ../armsrc/% +# rm *.bin + +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 > $@ + chmod 755 $@ + +clean: + rm -f $(BINS) +