mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Update armsrc and bootrom Makefiles with a .FORCE PHONY target for version_pm3.c
This fixes issues in ProxSpace where the firmware .elf files are sometimes not rebuilt
This commit is contained in:
parent
171f9d4fcd
commit
e6ecc5320f
2 changed files with 4 additions and 4 deletions
|
@ -185,7 +185,7 @@ showinfo:
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
# version_pm3.c should be remade on every time fullimage.stage1.elf should be remade
|
# version_pm3.c should be remade on every time fullimage.stage1.elf should be remade
|
||||||
version_pm3.c: default_version_pm3.c $(OBJDIR)/fpga_version_info.o $(OBJDIR)/fpga_all.o $(THUMBOBJ) $(ARMOBJ)
|
version_pm3.c: default_version_pm3.c $(OBJDIR)/fpga_version_info.o $(OBJDIR)/fpga_all.o $(THUMBOBJ) $(ARMOBJ) .FORCE
|
||||||
$(info [-] GEN $@)
|
$(info [-] GEN $@)
|
||||||
$(Q)$(SH) ../tools/mkversion.sh > $@ || $(CP) $< $@
|
$(Q)$(SH) ../tools/mkversion.sh > $@ || $(CP) $< $@
|
||||||
|
|
||||||
|
@ -257,7 +257,7 @@ uninstall:
|
||||||
$(info [@] Uninstalling fullimage from $(DESTDIR)$(PREFIX)...)
|
$(info [@] Uninstalling fullimage from $(DESTDIR)$(PREFIX)...)
|
||||||
$(Q)$(INSTALLSUDO) $(RM) $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLFWRELPATH)$(PATHSEP)$(INSTALLFWTAG)
|
$(Q)$(INSTALLSUDO) $(RM) $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLFWRELPATH)$(PATHSEP)$(INSTALLFWTAG)
|
||||||
|
|
||||||
.PHONY: all clean help install uninstall
|
.PHONY: all clean help install uninstall .FORCE
|
||||||
help:
|
help:
|
||||||
@echo Multi-OS Makefile, you are running on $(DETECTED_OS)
|
@echo Multi-OS Makefile, you are running on $(DETECTED_OS)
|
||||||
@echo Possible targets:
|
@echo Possible targets:
|
||||||
|
|
|
@ -48,7 +48,7 @@ INSTALLFW = $(OBJDIR)/bootrom.elf
|
||||||
OBJS = $(OBJDIR)/bootrom.s19
|
OBJS = $(OBJDIR)/bootrom.s19
|
||||||
|
|
||||||
# version_pm3.c should be remade on every compilation
|
# version_pm3.c should be remade on every compilation
|
||||||
version_pm3.c: default_version_pm3.c
|
version_pm3.c: default_version_pm3.c .FORCE
|
||||||
$(info [=] GEN $@)
|
$(info [=] GEN $@)
|
||||||
$(Q)$(SH) ../tools/mkversion.sh > $@ || $(PERL) ../tools/mkversion.pl > $@ || $(CP) $< $@
|
$(Q)$(SH) ../tools/mkversion.sh > $@ || $(PERL) ../tools/mkversion.pl > $@ || $(CP) $< $@
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ uninstall:
|
||||||
$(info [@] Uninstalling bootrom from $(DESTDIR)$(PREFIX)...)
|
$(info [@] Uninstalling bootrom from $(DESTDIR)$(PREFIX)...)
|
||||||
$(Q)$(INSTALLSUDO) $(RM) $(foreach fw,$(INSTALLFW),$(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLFWRELPATH)$(PATHSEP)$(notdir $(fw)))
|
$(Q)$(INSTALLSUDO) $(RM) $(foreach fw,$(INSTALLFW),$(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLFWRELPATH)$(PATHSEP)$(notdir $(fw)))
|
||||||
|
|
||||||
.PHONY: all clean help install showinfo
|
.PHONY: all clean help install showinfo .FORCE
|
||||||
help:
|
help:
|
||||||
@echo Multi-OS Makefile, you are running on $(DETECTED_OS)
|
@echo Multi-OS Makefile, you are running on $(DETECTED_OS)
|
||||||
@echo Possible targets:
|
@echo Possible targets:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue