X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c0d04e9540fd3d6ac7fa1eb0e006eeb7ee91ab7b..d24438f85c6549479b7ca00e1096c1a7cde15e5b:/armsrc/Makefile diff --git a/armsrc/Makefile b/armsrc/Makefile index 8010fcf0..97805b7a 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -25,7 +25,8 @@ THUMBSRC = start.c \ ARMSRC = fpgaloader.c \ legicrf.c \ $(SRC_ISO14443a) \ - $(SRC_ISO14443b) + $(SRC_ISO14443b) \ + crc.c # Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC include ../common/Makefile.common @@ -35,7 +36,7 @@ all: $(OBJDIR)/osimage.s19 $(OBJDIR)/fpgaimage.s19 $(OBJDIR)/fpga.o: fpga.bit $(OBJCOPY) -O elf32-littlearm -I binary -B arm --redefine-sym _binary____fpga_fpga_bit_start=_binary_fpga_bit_start --redefine-sym _binary____fpga_fpga_bit_end=_binary_fpga_bit_end --prefix-sections=fpga_bit $^ $@ -$(OBJDIR)/fullimage.elf: $(VERSIONOBJ) $(OBJDIR)/fpga.o $(THUMBOBJ) $(ARMOBJ) $(ARMLIB)/libgcc.a +$(OBJDIR)/fullimage.elf: $(VERSIONOBJ) $(OBJDIR)/fpga.o $(THUMBOBJ) $(ARMOBJ) $(LIBGCC) $(LD) -g -Tldscript -Map=$(patsubst %.elf,%.map,$@) -o $@ $^ $(OBJDIR)/fpgaimage.elf: $(OBJDIR)/fullimage.elf