summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2016-07-21 23:49:26 +0000
committersobomax <sobomax@FreeBSD.org>2016-07-21 23:49:26 +0000
commit0c2ec19b32588d93ff53f3431098e0a8bc85fda0 (patch)
tree92bf463e6a2d2d27dbdffa569e83bf23474c0db1 /sys/modules
parent8b7bd42fe6448998ae443815e5d88c89c89b835c (diff)
downloadFreeBSD-src-0c2ec19b32588d93ff53f3431098e0a8bc85fda0.zip
FreeBSD-src-0c2ec19b32588d93ff53f3431098e0a8bc85fda0.tar.gz
MFC: merge in all new features and improvements into geom_uzip(8) from current,
which includes: o LZMA compression; o block de-duplication; o performance improvements; o pop out worker kthread to do extraction. This includes the following revisions: r295943,r295952,r298502,r298619,r299195,r302284 Suggested by: emaste
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/geom/geom_uzip/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/modules/geom/geom_uzip/Makefile b/sys/modules/geom/geom_uzip/Makefile
index 3efeb80..bd6ecd3 100644
--- a/sys/modules/geom/geom_uzip/Makefile
+++ b/sys/modules/geom/geom_uzip/Makefile
@@ -3,7 +3,22 @@
.PATH: ${.CURDIR}/../../../geom/uzip ${.CURDIR}/../../../net
KMOD= geom_uzip
-SRCS= g_uzip.c
+SRCS= g_uzip.c g_uzip_zlib.c g_uzip_lzma.c g_uzip_wrkthr.c
+SRCS+= g_uzip.h g_uzip_dapi.h g_uzip_lzma.h g_uzip_zlib.h g_uzip_softc.h \
+ g_uzip_wrkthr.h
#CFLAGS= -g -DINVARIANT_SUPPORT -DINVARIANTS
+SRCS+= opt_geom.h
+
+.PATH: ${.CURDIR}/../../../contrib/xz-embedded/freebsd/ \
+ ${.CURDIR}/../../../contrib/xz-embedded/linux/lib/xz/ \
+ ${.CURDIR}/../../../contrib/xz-embedded/linux/include/linux/ \
+ ${.CURDIR}/../../../net
+
+CFLAGS+= -I${.CURDIR}/../../../contrib/xz-embedded/freebsd \
+ -I${.CURDIR}/../../../contrib/xz-embedded/linux/lib/xz/
+SRCS+= xz_crc32.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c \
+ xz_malloc.c
+SRCS+= xz.h xz_config.h xz_lzma2.h xz_malloc.h xz_private.h xz_stream.h
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud