mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fpga_compress uses lz4
This commit is contained in:
parent
96ae026f35
commit
cb03286420
2 changed files with 78 additions and 143 deletions
|
@ -1,13 +1,14 @@
|
|||
MYSRCPATHS =
|
||||
MYSRCPATHS =
|
||||
MYINCLUDES = -I../../common_fpga
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYDEFS =
|
||||
MYSRCS =
|
||||
MYLIBS =
|
||||
|
||||
ZLIBPATH = ../../common/zlib
|
||||
MYINCLUDES += -I$(ZLIBPATH)
|
||||
MYLIBS += $(OBJDIR)/libz.a
|
||||
MYSRCPATHS += ../../common/lz4
|
||||
MYINCLUDES += -I../../common/lz4
|
||||
MYSRCS += lz4hc.c lz4.c
|
||||
MYCFLAGS += -DLZ4_MEMORY_USAGE=20 -Wno-redundant-decls -Wno-old-style-definition -Wno-missing-prototypes -Wno-missing-declarations
|
||||
|
||||
BINS = fpga_compress
|
||||
|
||||
|
@ -16,9 +17,6 @@ ROOT_DIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
|||
include ../../Makefile.host
|
||||
|
||||
fpga_compress: $(OBJDIR)/fpga_compress.o $(MYOBJS)
|
||||
$(OBJDIR)/libz.a:
|
||||
$(info [*] MAKE zlib)
|
||||
$(Q)$(MAKE) --no-print-directory -C $(ZLIBPATH) OBJDIR=$(ROOT_DIR)$(OBJDIR) BINDIR=$(ROOT_DIR)$(OBJDIR) all
|
||||
|
||||
tarbin: $(BINS)
|
||||
$(info [=] TAR ../proxmark3-$(platform)-bin.tar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue