X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c0d04e9540fd3d6ac7fa1eb0e006eeb7ee91ab7b..040a7baad0fa7c2901e44e5f5f63f0918d29ae97:/armsrc/Makefile diff --git a/armsrc/Makefile b/armsrc/Makefile index 8010fcf0..a6b2fcc8 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -17,15 +17,18 @@ THUMBSRC = start.c \ $(SRC_LCD) \ $(SRC_ISO15693) \ $(SRC_LF) \ - appmain.c \ + appmain.c printf.c \ util.c \ usb.c # These are to be compiled in ARM mode ARMSRC = fpgaloader.c \ legicrf.c \ + iso14443crc.c \ + crc16.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 +38,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