mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
30 lines
664 B
Makefile
30 lines
664 B
Makefile
include ../common_arm/Makefile.common
|
|
|
|
BINS = bootrom.bin fullimage.bin proxmark3_recovery.bin
|
|
|
|
all: $(BINS)
|
|
|
|
bootrom.bin: ../bootrom/obj/bootrom.elf
|
|
$(info [=] GEN $@)
|
|
$(Q)$(OBJCOPY) --gap-fill=0xff --pad-to 0x00102000 -O binary $^ $@
|
|
|
|
fullimage.bin: ../armsrc/obj/fullimage.elf
|
|
$(info [=] GEN $@)
|
|
$(Q)$(OBJCOPY) --gap-fill=0xff -O binary $^ $@
|
|
|
|
proxmark3_recovery.bin: bootrom.bin fullimage.bin
|
|
$(info [=] GEN $@)
|
|
$(Q)cat bootrom.bin fullimage.bin > $@
|
|
|
|
clean:
|
|
$(Q)rm -f $(BINS)
|
|
|
|
install: all
|
|
$(info [@] Installing recovery to $(PREFIX))
|
|
@true
|
|
|
|
uninstall: all
|
|
$(info [@] Uninstalling recovery from $(PREFIX))
|
|
@true
|
|
|
|
PHONY: all clean install uninstall
|