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