X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c0d04e9540fd3d6ac7fa1eb0e006eeb7ee91ab7b..f39c4119e0687fd35689fb971687e9bb1585ffe8:/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