git: 285f6ab665d7 - main - stand: Separate out ZSTD sources from ZFS sources
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Jul 2022 17:49:59 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=285f6ab665d747ee4c35ed80590d5c4d171f130d commit 285f6ab665d747ee4c35ed80590d5c4d171f130d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-07-08 15:07:41 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-07-08 17:47:36 +0000 stand: Separate out ZSTD sources from ZFS sources Sponsored by: Netflix --- stand/libsa/zfs/Makefile.inc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/stand/libsa/zfs/Makefile.inc b/stand/libsa/zfs/Makefile.inc index d63e1582d2a3..ff8dfea195b5 100644 --- a/stand/libsa/zfs/Makefile.inc +++ b/stand/libsa/zfs/Makefile.inc @@ -8,17 +8,17 @@ .PATH: ${OZFS}/module/zstd/lib/decompress ZFS_SRC= zfs.c nvlist.c skein.c skein_block.c list.c ZFS_SRC+= zstd_shim.c -ZFS_SRC+= entropy_common.c error_private.c -ZFS_SRC+= fse_compress.c fse_decompress.c hist.c -ZFS_SRC+= huf_compress.c huf_decompress.c pool.c xxhash.c -ZFS_SRC+= zstd_common.c zstd_compress.c zstd_compress_literals.c -ZFS_SRC+= zstd_compress_sequences.c zstd_compress_superblock.c -ZFS_SRC+= zstd_ddict.c zstd_decompress.c zstd_decompress_block.c -ZFS_SRC+= zstd_double_fast.c zstd_fast.c zstd_lazy.c zstd_ldm.c -ZFS_SRC+= zstd_opt.c +ZSTD_SRC+= entropy_common.c error_private.c +ZSTD_SRC+= fse_compress.c fse_decompress.c hist.c +ZSTD_SRC+= huf_compress.c huf_decompress.c pool.c xxhash.c +ZSTD_SRC+= zstd_common.c zstd_compress.c zstd_compress_literals.c +ZSTD_SRC+= zstd_compress_sequences.c zstd_compress_superblock.c +ZSTD_SRC+= zstd_ddict.c zstd_decompress.c zstd_decompress_block.c +ZSTD_SRC+= zstd_double_fast.c zstd_fast.c zstd_lazy.c zstd_ldm.c +ZSTD_SRC+= zstd_opt.c CFLAGS+= -DHAS_ZSTD_ZFS -SRCS+= ${ZFS_SRC} +SRCS+= ${ZFS_SRC} ${ZSTD_SRC} CFLAGS+= -I${LDRSRC} CFLAGS+= -I${SYSDIR}/cddl/boot/zfs @@ -28,7 +28,7 @@ ZFS_EARLY= -I${ZFSOSINC} \ -I${ZFSOSINC}/spl \ -I${ZFSOSINC}/zfs -.for i in ${ZFS_SRC} +.for i in ${ZFS_SRC} ${ZSTD_SRC} CFLAGS.$i+= -include ${ZFSOSINC}/spl/sys/ccompile.h .endfor