]>
Commit | Line | Data |
---|---|---|
1 | include ../common/Makefile.common | |
2 | ||
3 | BINS = bootrom.bin fullimage.bin proxmark3_recovery.bin | |
4 | ||
5 | all: $(BINS) | |
6 | ||
7 | bootrom.bin: ../bootrom/obj/bootrom.elf | |
8 | $(OBJCOPY) --gap-fill=0xff --pad-to 0x00102000 -O binary $^ $@ | |
9 | ||
10 | fullimage.bin: ../armsrc/obj/fullimage.elf | |
11 | $(OBJCOPY) --gap-fill=0xff -O binary $^ $@ | |
12 | ||
13 | proxmark3_recovery.bin: bootrom.bin fullimage.bin | |
14 | cat bootrom.bin fullimage.bin > $@ | |
15 | ||
16 | clean: | |
17 | rm -f $(BINS) | |
18 |