X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/86d319551864035038ea0b9355b6fa1815398bfd..eba61a5647762ee184535172db1db11137688ed8:/bootrom/Makefile?ds=inline diff --git a/bootrom/Makefile b/bootrom/Makefile index 0f661a8f..8029b6fc 100644 --- a/bootrom/Makefile +++ b/bootrom/Makefile @@ -24,7 +24,12 @@ APP_CFLAGS = -I. # Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC include ../common/Makefile.common -all: $(OBJDIR)/bootrom.s19 +OBJS = $(OBJDIR)/bootrom.s19 + +all: $(OBJS) + +tarbin: $(OBJS) + $(TAR) $(TARFLAGS) ../proxmark3-$(platform)-bin.tar $(OBJS:%=bootrom/%) $(OBJS:%.s19=bootrom/%.elf) $(OBJDIR)/bootrom.elf: $(VERSIONOBJ) $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ) $(CC) $(LDFLAGS) -Wl,-T,ldscript-flash,-Map,$(patsubst %.elf,%.map,$@) -o $@ $^ $(LIBS)